Details
-
Bug
-
Resolution: Unresolved
-
Low
-
4.6.0beta1
-
None
-
Operating System: RHEL 6.1
PHP Version: 5.3.3
Database and version: mysql 5.1.52
Browser (and version): ff7
Description
When using ezpublish in a dfs cluster mode, the template cache is store in local /var/cache/template not in the shared dfs mount (/mnt/ezdfs/var/cache/template)
This can be checked on steps 18 to 21 of the attached test case (steps to reproduce)
Steps to reproduce
1. In a Putty windows, go to ezp root directory 2. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=template-block 3. Verify that the following message is displayed: Clearing template-block: Template block cache 4. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 5. Verify that template-block flder is present 6. Verify that a file named expiry.php was created 7. Open expiry.php file 8. Verify that template-block-cache is present on the file to expire 9. Return to ezp root directory 10. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=template-block --purge 11. Verify that the following message is displayed: Purging template-block: Template block cache 12. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 13. Verify that template-block no longer exists 14. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=content --purge 15. Verify that the following message is displayed: Purging content: Content view cache/ 16. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 17. Verify that content folder no longer exists 18. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=template --purge 19. Verify that the following message is displayed: Purging template: Template view cache/ 20. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 21. Verify that Template folder no longer exists 22. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=user_info_cache 23. Verify that the following message is displayed: Clearing user_info_cache: User info cache 24. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 25. Verify that user_info_cache: folder is present 26. Verify that a file named expiry.php was created 27. Open expiry.php file 28. Verify that user_info_cache: is present on the file to expire 29. Run the following script: php bin/php/ezcache.php -s ezflow_site_admin --clear-id=user_info_cache --purge 30. Verify that the following message is displayed: Purging user_info_cache: User info cache 31. Go to the cluster shared folder: /mnt/ezdfs/var/ezflow_site/cache 32. Verify that user_info_cache: follder no longer exists
Attachments
Issue Links
- relates to
-
EZP-17761 ezcache.php --purge does not purge template-blocks (patch)
- Closed