Open mafiayemakhfi opened 3 days ago
Hey @mafiayemakhfi,
I confirm that I was able to reproduce the bug in the environment described below. I used the code snippet provided in the description to create a custom post type (CPT).
https://github.com/user-attachments/assets/c9e19e35-405a-4919-830e-f7c178f0f6ae
Hey @mafiayemakhfi, Thanks for bringing this up.
I was able to reproduce the issue following the above-mentioned steps. Here are the details -
https://github.com/user-attachments/assets/2de8c996-423b-4553-9249-18b3d56027f3
Description
When attempting to edit a custom post type with a Persian slug in the Gutenberg editor, I encounter the error message:
"You attempted to edit an item that doesn't exist. Perhaps it was deleted?"
The post is still accessible via its URL, and no data appears to be lost. This issue seems to be related to the handling of slugs containing non-Latin characters in the Gutenberg editor.
Step-by-step reproduction instructions
The error message "You attempted to edit an item that doesn't exist" appears.