DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29506>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29506 Faulty caching in directory generator Summary: Faulty caching in directory generator Product: Cocoon 2 Version: 2.1.5 Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The cache key for the directory generator do not contain the context path nor the absolute path for the directory to list. This means that if you try to list the directory named foo in the context /bar you will get what you want. But if you list the directory named foo in the context /bar/gazonk you will get the same result. The problem is located here: org/apache/cocoon/generation/DirectoryGenerator.java around line 148. My suggested solution is to add the current context path to the cache key. If one disable caching one will get rid of the problem but I want to use the cache!
