Cache module never flush cache
------------------------------

                 Key: MAGNOLIA-977
                 URL: http://jira.magnolia.info/browse/MAGNOLIA-977
             Project: magnolia
          Issue Type: Bug
    Affects Versions: 3.0 RC2
         Environment: Linux
            Reporter: Stephane Galles
         Assigned To: Boris Kraft
            Priority: Critical


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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to