cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <>
Subject [C2] Session validator deletes {1}
Date Tue, 17 Jul 2001 14:43:33 GMT
It looks like there is a bug in SessionValidatorAction. Suppose you have 
a sitemap entry like this one:

<map:match pattern="*.html">
   <map:act type="session-validator">
     <map:parameter name="descriptor" context://descriptors/params.xml"/>
     <map:parameter name="validate" value="username"/>
     <map:generate type="serverpages" src="docs/{1}.xsp"/>
     <map:transform src="stylesheets/simple-page2html.xsl"/>
   <map:redirect-to uri="login.html"/>

This fails because the XSP generator cannot find "docs/null.xsp". 
Apparently the SessionValidatorAction deletes any exixting sitemap 
parameter before copying the session attributes to the sitemap, so the 
value of {1} is lost.

Can anyone confirm this?


Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail:

To unsubscribe, e-mail:
For additional commands, email:

View raw message