Skip to content

[5.x]: Merging entry types used in single sections still creates duplicate entries #16394

@MoritzLost

Description

@MoritzLost

What happened?

Description

We're still seeing the issue described in #16087

We have four entry types used in four single sections. We merge those all into one. In the development environment where we execute the entry-types/merge command, there aren't any problems. But deploying those changes to a different dev environment or the production environment causes additional entries to be created. All the single sections that used one of the entry types that was merged into another one end up with two entries, one existing and one newly created.

Steps to reproduce

  1. Update a Craft 4 site with at least one Channel and one Single section with similar entry types to Craft 5.
  2. Run entry-types/merge on the two entry types and merge the entry type used by the Single section into the entry type used by the Channel section.
  3. Deploy those changes to a different environment.

Craft CMS version

5.5.7

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions