Skip to content

[5.x]: Invalid section ID after moving entries #15949

@ryanleichty

Description

@ryanleichty

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

  1. Create two sections that each support a different entry type (and populate them with entries)
  2. Update one of the sections to support both entry types
  3. Move all entries to the section that supports both entry types
  4. Delete the empty section

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

  • Alt text Generator 5.1.1
  • Amazon S3 2.2.1
  • Asset Usage 4.1.3
  • CKEditor 4.2.0
  • Colour Swatches 5.0.3
  • Donkeytail 5.0.0-beta.1
  • Empty Coalesce 5.0.0
  • Hyper 2.1.1
  • Image Hotspots 3.0.1
  • Neo 5.2.9
  • Retcon 3.2.0
  • Retour 5.0.3
  • Template Selector 5.0.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions