Reputation: 29484
I have a really weird issue on a particular node (nodeId 3095) in Umbraco 4.7:
cmsDocument
, there is 1 published row and 0 newest row.UPDATE cmsDocument SET newest=1 WHERE nodeId=3095 AND published=1
No Document exists with Version 'bbbbb872-b97b-4db5-9304-a3489ddd5540'
SELECT * FROM cmsDocument WHERE versionId='bbbbb872-b97b-4db5-9304-a3489ddd5540'
Updated question:
How do you safely delete a Document from the database? (because you can't delete it from the CMS)
Upvotes: 0
Views: 558
Reputation: 29484
I tried deleting that version (only 1 row) from cmsContentVersion and apparently it works.
What I did wrong was I tried setting newest manually. Apparently you shouldn't do that manually.
Similar instruction: http://www.spyriadis.net/2011/08/umbraco-fix-no-document-exists-with-version/
Upvotes: 1