Closed Collexi-Dev closed 1 month ago
I'm experiencing the same issue across all my projects; re-saving the duplicated entities, as mentioned in #8430, did not resolve the problem.
Facing the same issue It has to do something with the application layer. The duplicates are not in the DB, they happen when it queries the DB and populates the data.
Until they fix the underlying issue. The way that I've fixed it was to find all versions where the parent field was of $type: string and replace them with the ObjectId version instead.
Then I went into the admin UI and published all the pages with a duplicate page and that seems to have cleared it all up for me
Until they fix the underlying issue. The way that I've fixed it was to find all versions where the parent field was of $type: string and replace them with the ObjectId version instead.
Then I went into the admin UI and published all the pages with a duplicate page and that seems to have cleared it all up for me
In my case the parent is null in db
🚀 This is included in version v3.0.0-beta.110
Confirmed all good now, thanks 👍
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
No response
Environment Info
Describe the Bug
Not sure what the workflow is when a previous issue got closed but is unresolved, so creating this issue for visibility.
Original bug is described here: https://github.com/payloadcms/payload/issues/8430
The issue persists after updating to v109 as mentioned here: https://github.com/payloadcms/payload/issues/8430#issuecomment-2378452861
Reproduction Steps
Adapters and Plugins
No response