ezsystems/ezpublish-legacy — pull request #939 by joaoinacio (2014-04-22 16:37:48+00:00)
Title: Fix EZP-22433: do not image attributes when trashing an empty image

JIRA:
* https://jira.ez.no/browse/EZP-22628,
* https://jira.ez.no/browse/EZP-22433

This PR checks that an image exists when sending an ezimage attribute to trash, which prevents generating inconsistent data when no actual image exists.