-
Notifications
You must be signed in to change notification settings - Fork 638
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
[5.x]: Invalid section ID after moving entries #15949
Comments
Hi, thanks for getting in touch! I’m not able to replicate this. Could you please share the stack trace that leads to the |
Let me know if this is what you're looking for: web-2024-10-23.log |
Ok, I figured this out. The entry in the above screenshot had a draft that must've carried over when editing it on a previous branch. Discarding the draft and resaving the entry resolved the issue |
Thanks for the additional info! I can replicate this when the entry you’re moving has a provisional draft. I’ll make some improvements! |
@i-just Ok, we're still running into this and narrowed it down to provisional drafts as well. Let us know when you have a fix! |
Craft 5.4.10 is out with a fix for this, for entry moves going forward. Thanks for reporting! |
What happened?
Description
We moved all of our entries from one section to a new section. When we delete the old section which is empty, we get the
Invalid section ID
error when trying to navigate to the new section. It's completely inaccessible.Steps to reproduce
Expected behavior
I would expect nothing to happen to the new section or it's entries when deleting the old section that doesn't have any entries.
Actual behavior
The new section is completely inaccessible and returns the
Invalid section ID
error.Craft CMS version
5.4.7.1
PHP version
8.2.24
Operating system and version
Linux 6.5.11-linuxkit
Database type and version
MySQL 8.0.37
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.1-32)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: