DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25879

directory generator caching bug





------- Additional Comments From [EMAIL PROTECTED]  2004-01-04 13:33 -------
Testcase :

    <map:match pattern="noaggregation">
        <map:generate type="directory" src="d:/temp/dirtest"/>
        <map:serialize type="xml"/>
    </map:match>
    
    <map:match pattern="aggregationlevel1">
        <map:aggregate element="level1">
          <map:part src="cocoon:/dirtest" strip-root="true"/>
          <map:part src="cocoon:/dirtest" strip-root="true"/>
         </map:aggregate>
         <map:serialize type="xml"/>            
    </map:match>

    <map:match pattern="aggregationlevel2">
        <map:aggregate element="level2">
          <map:part src="cocoon:/aggregationlevel1"/>
          <map:part src="cocoon:/dirtest" strip-root="true"/>
         </map:aggregate>
         <map:serialize type="xml"/>
    </map:match>

    <map:match pattern="aggregationlevel3">
        <map:aggregate element="level3">
          <map:part src="cocoon:/aggregationlevel2"/>
          <map:part src="cocoon:/dirtest" strip-root="true"/>
         </map:aggregate>
         <map:serialize type="xml"/>
    </map:match>

Adding/removing/changing files is ok for "noaggregation" and
"aggregationlevel1", the cache gets invalidated properly

Nested aggregations however are not caching properly. I remember sinlge
aggregations not caching properly in 2.0.4, maybe the fix did not take into
account nested aggregations?

I'm currently looking at validatePipeline() in
AbstractCachingProcessingPipeline, but it's a bit of a beast so bear with me ;)

Reply via email to