Auto-deletion of empty media asset attachment containers

Auto-deletion of empty media asset attachment containers

With this version, we modified the behavior regarding empty media asset attachments. They will be deleted automatically if no asset is in the container anymore.
  • The new behavior is active for all object types which can be assigned with a media asset document (e.g. item, product, variant, and structure group).
  • The new behavior is also active for delete actions via REST calls.
  • If a media asset attachment is automatically deleted, all its sub-entities including
    MediaAssetLang
    and its fields (e.g. English description, German alternative text, etc.) will be deleted as well.
  • It is still possible to create an empty media asset attachment in the "Multimedia attachment" view of the Desktop UI.
  • If Media Manager is used, media asset attachments will be deleted, once the last media asset document with quality
    originalimage
    has been deleted, which leads to the deletion of all other derivative media asset documents automatically. No changes on this behavior.
The feature allows for better control and cleanups working with media assets in general and prevents the presence of "ghosted" media asset attachments in the system.
It is possible to re-activate the previous behavior by modifying this setting in the
plugin customization.ini
file:
com.heiler.ppm.mediaasset.core/removeAttachmentWhenLastDocumentIsRemoved.enabled =true/false

0 COMMENTS

We’d like to hear from you!