Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.0, 4.6.0, 4.7.0, 5.0, 5.1, 5.2
-
None
-
eZ Publish 4.5, eZIE, DFS cluster
Description
In a DFS-clustered environment, editing and saving images using the eZIE extension will cause entries in the "ezdfsfile" table to have a scope of "1". The net result of this is that expired entries will not be purged.
Steps to reproduce:
1. Prepare an eZ Publish 4.5 installation, fully patched and set up in DFS cluster mode;
2. Add a new image in media library;
3. Examine the "ezdfsfile" table - there should be no records with the "scope" field set to "1";
4. Edit the image with eZIE, and publish it;
5. Re-examine the "ezdfsfile" table - there should now be records with the "scope" field set to "1", e.g.:
mysql> SELECT * FROM ezdfsfile WHERE scope = 1; +------------------------------------------------------------------+-----------------------------------------------------+----------------------------------+----------+-------+-------+------------+---------+--------+ | name | name_trunk | name_hash | datatype | scope | size | mtime | expired | status | +------------------------------------------------------------------+-----------------------------------------------------+----------------------------------+----------+-------+-------+------------+---------+--------+ | var/ezflow_site/cache/public/ezie/14/238-2/thumb-3-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/thumb-3- | 43b53382ec97e4de8800939ca14db284 | misc | 1 | 12532 | 1385493779 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/thumb-1-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/thumb-1- | 6c3af21e18d134c98b18fd961da38d7d | misc | 1 | 12522 | 1385493776 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/3-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/3- | 74f2153fc486fb6e13b1aaefbe7e83e5 | misc | 1 | 15051 | 1385493779 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/2-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/2- | 8309c6d6a8244efe5dfd4318a86f9ee7 | misc | 1 | 14694 | 1385493778 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/thumb-2-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/thumb-2- | b591a6575d68cac8cf92a952bcd1de16 | misc | 1 | 12523 | 1385493778 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/thumb-0-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/thumb-0- | e020a0a51231da7837da06e693c5dc8c | misc | 1 | 12335 | 1385493771 | 0 | 0 | | var/ezflow_site/cache/public/ezie/14/238-2/1-tank1.jpg.jpg | var/ezflow_site/cache/public/ezie/14/238-2/1- | f6c7bd6c804070bae7e50337a71010cb | misc | 1 | 15006 | 1385493776 | 0 | 0 | +------------------------------------------------------------------+-----------------------------------------------------+----------------------------------+----------+-------+-------+------------+---------+--------+ 7 rows in set, 56 warnings (0.00 sec)
Attachments
Issue Links
- links to