Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

No usage warning when deleting an image referenced in a PropertyList

$
0
0

When deleting an image (or any other asset, I suppose) used in a PropertyList, the "The media is used in the following places. To avoid errors on the site, make sure that the media is not used anywhere." warning doesn't appear.

I guess it's because the content type only references the data model used in the property list and not the image itself, but I've been contacted by customers about this that have removed images believing they aren't used anywhere so it would be nice to be able to resolve it.

I've tried it in both CMS 10.xx.xx and 11.xx.xx with the same result.

Steps to reproduce:

1. Reference an image in a property list
2. Delete the image from the assets folder

Expected behaviour:

Actual behaviour:


Viewing all articles
Browse latest Browse all 9076

Trending Articles