Updating from beta 45 to 3.15.1 causes duplicate entries for page when publish or draft with same id #10569
-
Describe the BugThe project is setup with mongo db. It has some custom collections for different pages. The collections use a beforeValidate hook to add slug automatically. After updating when exisiting page is published or saved it gets duplicated with same id. The two pages are connected - when you select one of the pages both get selected and also if you do some changes, changes are on both sites. In database there is only one entry. So it seems like it's more like a display error? Happens with all pages regardless if custom or just default pages. ![]() ![]() Found this issue which seems like kinda same like mine. Was there any solution to this topic? Link to the code that reproduces this issueNo response Reproduction Steps
Which area(s) are affected? (Select all that apply)area: ui, area: core Environment Info
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Please add a reproduction in order for us to be able to investigate. Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided. Why was this issue marked with the
|
Beta Was this translation helpful? Give feedback.
-
Hi @stefanfritschej, I moved this from an issue to a discussion since it was already covered with #8430 that you linked. You should be able to resave your documents and it will remove the If that doesn't work you might need to manually update records with the same parent_id and multiple |
Beta Was this translation helpful? Give feedback.
Hi @stefanfritschej, I moved this from an issue to a discussion since it was already covered with #8430 that you linked.
You should be able to resave your documents and it will remove the
latest: true
property from the versions collection that is used to show in the list.If that doesn't work you might need to manually update records with the same parent_id and multiple
latest: true
to remove one in order to solve this.