Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0-dev
-
None
-
Operating System: RHEL 6.1 Enterprise Edition
PHP Version: PHP 5.3.3
Database and version: Postgres 8.4.9
Browser (and version): Any
Description
After deleting a image from the Media folder, and running the maintenance cronjob, the files in the CLUSTER_STORAGE_BACKEND aren't removed.
Steps to reproduce
Create an image 1. Login as admin in admin interface 2. Click in Media Library tab on top menu 3. Click in Images on sub-itens 4. Create a new image Name: Test image Upload an image from your local drive 5. Click in Send for publishing button Verify that image is created 1. Click in Media Library tab on top menu 2. Click in Images on sub-itens 3. Open Test image 4. Verify that the image is displayed 5. On command line, go to the cluster shared folder: $ /mnt/ezdfs/var/ezflow_site/storage/images/media/images/image/219-1-eng-GB 6. Verify that the image files are present Remove the image 1. On admin interface, click in Media Library tab 2. Click in Images on sub-itens 3. Open Test image 4. Click in Remove button 5. Uncheck Move to trash checkbox 6. Click in OK button 7. Verify that the image was removed 8. On command line, go to you ez Publish root folder 9. Run the following script $ php runcronjobs.php -s ezflow_site cluster_maintenance 10. On command line, go to the cluster shared folder: $ /mnt/ezdfs/var/ezflow_site/storage/images/ 11. Verify that the media folder are no longer present