-
Bug
-
Resolution: Fixed
-
Critical
-
3.0 RC2
-
None
-
None
-
Linux
-
-
Empty show more show less
When a page is published from magnoliaAuthor to magnoliaPublic, the cache module is supposed to flush the cache directory of magnoliaPublic. It never happens as the flushAll function of class info.magnolia.cms.cache.simple.CacheImpl uses the function delete of class java.io.File. This function does not work if the directory is not empty. Moreover, the mkdirs funtion of the cache directory will be called only if the cache directory exists.
Say the cache is activated in magnoliaPublic. The end user will see a newly published page as appropriate (first load in cache). If ever modifications on this page are made and the page is republished, it will never be seen.
Acceptance criteria