When keeping a history of a moderated object, if a previous pending or rejected version contains a foreign key to a deleted object, the following error is thrown: [Model] matching query does not exist.
In my case I had a category assigned to news (moderated), then I changed the category and deleted the previous one. Now when I try to get versions for that news, it throws the aforementioned error.
It would be great to at least be able to delete the broken moderated objects (versions)
When keeping a history of a moderated object, if a previous pending or rejected version contains a foreign key to a deleted object, the following error is thrown: [Model] matching query does not exist.
In my case I had a category assigned to news (moderated), then I changed the category and deleted the previous one. Now when I try to get versions for that news, it throws the aforementioned error.
It would be great to at least be able to delete the broken moderated objects (versions)