-
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]: Merging entry types used in single sections still creates duplicate entries #16394
Comments
Hi, thanks for getting in touch! I’m having trouble replicating it. To start with, could you please clarify which entry type you are persisting during the merge - the one used by the single or by the channel? Also, when you deploy the changes, are you deploying both the v5 upgrade and entry type merge in one go, or do you do two deployments? What’s the v4 version you’re upgrading from? |
@i-just I'm persisting the entry type that's used in the channel. That's our
We're deploying those separately. Deploying those all at once lead to problems, when converted Super Table fields were merged in the same step. Our Craft 5 update process is relatively involved, because various things need to happen in distinct steps. We create five separate pull requests:
We create chained pull requests for every step, then merge them one by one, deploying each change to the production server before moving to the next.
Latest 4.x that's available at the time we start with the updates. Might not be the very latest patch version (since the updates take some time), but close. In this case, we updated from |
Thanks! That helps. |
I was able to reproduce and I raised a PR for this. Thanks again for the additional details! |
Craft 5.5.10 is out with that fix. Thanks again! |
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
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.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
The text was updated successfully, but these errors were encountered: