See the screenshots. The document only exists in the versions collection in mongodb - not in the main collection.
However, it's still shown in the admin panel. When I click on it, it says "Nothing Found".
There doesn't seem to be a way to remove it in the admin panel.
How does that happen, and how can I remove it?
Looks like itmight
be a bug? If a document is only present in versions as "parent", but not present in the main mongodb collection, I wouldn't expect it to be shown
Document is displayed even though it ONLY exists in the versions collection
Would probably be best if payload has a check for versions where the "parent" field does not exist anymore.
Then payload could show them in some kind of "Bin" or "Recently Deleted", instead of showing them in the main document list where you cannot open them anymore.
Interesting… docs should clean up their versions when deleted. I wonder what chain of events occurred causing this one to not clean up after itself
Yea something happened and I have no idea why or what
@Alessio 🍣 have you run into this again?
Nope! I ended up just manually removing the affected versions from the database. Still not sure what caused it
Get help straight from the Payload team with an Enterprise License.