Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

On WordPress 5.8 an error will be display if the user after save the template refresh the page  #5426

@gigitux

Description

@gigitux

Describe the bug

On WordPress 5.8 the error You attempted to edit an item that doesn't exist. Perhaps it was deleted? when the user after saving the template, keeps staying in the template editor and refresh the page.

To reproduce

Steps to reproduce the behavior:

  1. Open the FSE editor
  2. From the sidebar on the left click on Templates.
  3. Click on one of these templates Product Category Page, Product Archive Page, Product Archive Page or Single Product Page. (check that it is not a modified template )
  4. Edit the template and save it.
  5. Refresh the page.

Expected behavior

The user can refresh the editor and continue to edit the template.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus: FSEWork related to prepare WooCommerce for FSE.focus: templateRelated to API powering block template functionality in the Site Editorstatus: staleStale issues and PRs have had no updates for 60 days.type: bugThe issue/PR concerns a confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions