We're running Umbraco 6.1.6 and having issues with losing Media nodes that are associated with content nodes on our site.
The media is created as part of a particular Document Types and when a document is deleted, the associated media goes with it even though it might be used in other parts of the site. It seems like this might be the default behaviour for Umbraco? Is this correct and is there a way to disable that behaviour? I can understand wanting to delete all parts of a particular node of content, but when it comes to Media I'm hoping it's possible to treat it differently.
We see this behaviour most when someone duplicates a node and then later decides to delete that duplicate, which removes the associated media.
Not sure I quite get the scenario...the media you're talking about is that uploaded and accessible through the media section in Umbraco or is it uploaded directly on the document type and then stored as files in the /media/ folder on disk but not accessible in the media section?
The media is uploaded during creation of a document, but shows in the Media section as well. When a document is deleted (and removed from a Recycle Bin) it deletes the media along with it even if that media is referenced elsewhere. It still leaves the reference to the media in the Media seciton. We are using an extension that publishes to Azure, but digging through the code it looks like Umbraco is triggering the delete and the extension is just doing as told.
Umbraco Node Delete Removes Associated Media
We're running Umbraco 6.1.6 and having issues with losing Media nodes that are associated with content nodes on our site.
The media is created as part of a particular Document Types and when a document is deleted, the associated media goes with it even though it might be used in other parts of the site. It seems like this might be the default behaviour for Umbraco? Is this correct and is there a way to disable that behaviour? I can understand wanting to delete all parts of a particular node of content, but when it comes to Media I'm hoping it's possible to treat it differently.
We see this behaviour most when someone duplicates a node and then later decides to delete that duplicate, which removes the associated media.
Hi Nathan
Not sure I quite get the scenario...the media you're talking about is that uploaded and accessible through the media section in Umbraco or is it uploaded directly on the document type and then stored as files in the /media/ folder on disk but not accessible in the media section?
/Jan
Jan,
The media is uploaded during creation of a document, but shows in the Media section as well. When a document is deleted (and removed from a Recycle Bin) it deletes the media along with it even if that media is referenced elsewhere. It still leaves the reference to the media in the Media seciton. We are using an extension that publishes to Azure, but digging through the code it looks like Umbraco is triggering the delete and the extension is just doing as told.
http://our.umbraco.org/projects/backoffice-extensions/azure-blob-storage-provider
Thanks,
Nathan
is working on a reply...