Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.0.1
-
None
-
Operating System: Debian
PHP Version: PHP 5.2.6-0.dotdeb.1
Database and version: MySQL 5.0.51a-7
Browser (and version): any
Description
When accessing eZ Publish over webdav, the eZExpiryHandler is initialized before the siteaccess is changed. This causes the eZExpiryHandler to write its expiry.php in the wrong directory if a custom VarDir or CacheDir is set in your siteaccess, an therefore the Website won't notice that for example the template-block-cache has expired.
I've attached a patch that modifies the changeAccess function so it reloads the eZExpiryHandler if one is already set an not modified.
Steps to reproduce
1) Set a custom VarDir or CacheDir in your siteaccess
2) Upload a file over webdav that normaly would cause the template-block-cache to expire
3) Watch eZ Publish update the wrong expiry.php (the one in the default VarDir/CacheDir path)