- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Deleted media referenced in finally not released pages
Hi,
following situation (appering in Site Architekt):
- Content page with reference to a media file,
- page and media (and parent folder) are released. -> Generating works fine.
- Changing the reference on the page to another media in same folder, saving the page.
- Delete the old, no more referenced media file and release the media folder, but NOT the page -> Generating fails because the relased page has still a reference to the old media file that doesn't exist any more
And now my question:
Are there any ways to avoid this behaviour? Are there possibilties to issue a warning if I delete a media file that is still used in released content or something that draw attention to editors?
We use basic workflows for deleting, but there is no check for this situation .....
Kind regards
Gaby Reger
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as described in https://docs.e-spirit.com/module/basicworkflows/BasicWorkflows_Documentation_EN.html#kap_6 it is possible to extend / customize the basic workflow implementation classes. Especially the class WfCheckPrerequisitesExecutable from the basic workflow sources can be extended to meet your prerequisite/preconditions, for your case you could add code to check if the media has still incoming references in the release store and avoid the deletion of the media.
br, Hendrik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as described in https://docs.e-spirit.com/module/basicworkflows/BasicWorkflows_Documentation_EN.html#kap_6 it is possible to extend / customize the basic workflow implementation classes. Especially the class WfCheckPrerequisitesExecutable from the basic workflow sources can be extended to meet your prerequisite/preconditions, for your case you could add code to check if the media has still incoming references in the release store and avoid the deletion of the media.
br, Hendrik

