Skip to content
This repository has been 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

Closed
gigitux opened this issue Dec 21, 2021 · 2 comments
Labels
focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor status: stale Stale issues and PRs have had no updates for 60 days. type: bug The issue/PR concerns a confirmed bug.

Comments

@gigitux
Copy link
Contributor

gigitux commented Dec 21, 2021

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

@gigitux gigitux added type: bug The issue/PR concerns a confirmed bug. focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor labels Dec 21, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Feb 20, 2022
@frontdevde
Copy link
Contributor

Retested today and can't reproduce the issue with WP 5.8.3 and the latest WooCommerce Blocks & Gutenberg.
Closing as it can't be reproduced anymore. Assuming this was likely fixed in #5425

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor status: stale Stale issues and PRs have had no updates for 60 days. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants