Removing nodes will end up in unpublishable node (with Content Picker having udis of removed nodes, that can't be removed)

  • Create a document type with Content Picker
  • Create and publish node with certain node selected in Content Picker
  • Remove the node you selected, empty recycle bin
  • Go to the node created, try to Save and publish: error “The chosen content does not exist“

There still is an Udi (in database) of a node that no longer exists. This causes the error actually. But as a user, you aren’t able to remove this node from de Content Picker.
Only way to solve this for me was changing property to text field, removing the uding, save and publish, change property back to Content Picker. Then it will be able to publish again.

In our case we ended up in manually doing above steps for a lot of nodes to make sure our main nodes were publishable again.

I’ve create Issue in Github: Error when trying to save and publish after deleting selected node in Content Picker · Issue #20087 · umbraco/Umbraco-CMS · GitHub

3 Likes