cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <>
Subject Re: cocoon:/ protocol bug in 2.2?
Date Wed, 22 Sep 2004 13:51:08 GMT
Nicola Ken Barozzi wrote:
> I've updated Cocoon to use 2.2-dev to test the new pass-through stuff, 
> and one thing is not working as before. In a subsitemap, I do a cocoon:/ 
> call and it does not work. It works when I put the things to call in the 
> base sitemap, but wasn't that cocoon:// (which BTW seems to work 
> correctly)?

I can confirm the problem.

Test case: Lenya 1.4-dev (trunk) with Cocoon 2.2 (trunk)

The sub-sitemap is mounted using

<map:match pattern="*/*/info-sitetree/**">
   <map:mount uri-prefix="" src="lenya/info.xmap"
              check-reload="true" reload-method="synchron"/>

(BTW, is it allowed to have an empty URI prefix here?
Carsten just told me it has to end with a slash)

The cocoon:/ call in info.xmap

   <map:match pattern="*/*/info-sitetree/sitetree.js">
     <map:aggregate element="lenya" label="aggregate">
       <map:part src="cocoon:/{1}/authoring/sitetree.xml"/>

goes directly to the root sitemap instead of staying in
info.xmap. Maybe a slash finds its way into the URI so that
it results in a cocoon:// call?

-- Andreas

View raw message