New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename the custom template all content in template will remove #90379
Comments
I have suggested the user to copy the content before renaming the template and after that paste the content again as a workaround. zen-8154286 |
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO CleanShot.2024-05-10.at.15.42.14.mp4CleanShot.2024-05-10.at.15.45.42.mp4I also tested using the user's theme, but I couldn't replicate either. 📌 ACTIONS
📌 Message to Author |
Not OP, but I'm experiencing the same bug (Bitácora theme fwiw). The bug doesn't occur when I replicate your steps, because it seems to only occur when renaming existing templates. Freshly created templates can be renamed without issue. For existing templates, it doesn't matter if I edit from the templates list page (Appearance➞ Editor➞ Templates➞ list "⋮"➞ Rename) or from the Editor like you show. It erases everything. When I rename within the Editor, the 'Choose A Pattern' popup window instantly opens. |
Thanks @kthxhi When you say "because it seems to only occur when renaming existing templates", what are you referring to as "existing templates"? Templates that are bundled with the theme? Or custom templates that have been created for a little while? |
A freshly created template (opened in the block editor for the first time) can be renamed within the editor just fine. But once I've saved that template and exited the block editor, any attempts to rename it will result in a total loss of content. My theme's stock templates cannot be renamed. I'm not sure if that's true of all themes. LMK if you need more info! |
Quick summary
If we use the full site editor to create a custom template and then rename it, all the content within the template gets automatically removed. I've been able to replicate this issue with an active Premium plan.
Steps to reproduce
What you expected to happen
After renaming the template, the content should remain unchanged.
What actually happened
The content is removed automatically. here is the video recording to show the exact issue. https://somup.com/cZhi6P5q64
Impact
One
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: