Details
-
Bug
-
Resolution: Duplicate
-
High
-
None
Description
Requires EZP-17781.
If a image is sent to the trash in a cluster environment, and then restored, the trashed folder will be correctly deleted from the local files, but not from the clusters.
The removetrashedimages.php script does not considers if the bugged images actually exist in the trash or not, what forces to clean the trash before its execution. As a one time only procedure, this should help, but since the bug stills there and new trashed folders will be created again, the script won't solve the problem.
Imho, to fix this, or the cluster trashed folders should be removed (like the local ones) when the image is restored, or the removetrashedimages.php should be aware of existing images in the trash and be converted to a cronjob