forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scher...@wyona.com>
Subject Re: [jira] Created: (FOR-893) wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
Date Wed, 31 May 2006 07:49:47 GMT
El mié, 31-05-2006 a las 11:19 +1000, David Crossley escribió:
> Thorsten Scherler (JIRA) wrote:
> > wildcard matcher such as **.xml when used in lm actions like {1} are not rewritten
> > ----------------------------------------------------------------------------------
> > 
> >          Key: FOR-893
> >          URL: http://issues.apache.org/jira/browse/FOR-893
> >      Project: Forrest
> >         Type: Bug
> > 
> >   Components: Locationmap, Dispatcher (aka views)  
> >     Reporter: Thorsten Scherler
> >  Attachments: lm.log.xml
> > 
> > In the thread http://marc.theaimsgroup.com/?t=114682704400003&r=1&w=2 I
found out the following.
> > 
> > I did a debug session with the RecursiveDirectoryTraversalAction and I
> > figured out that the {1} in the lm is not probably resolved (it is
> > always "").
> > 
> > <match pattern="resolve.structurer.**">
> > ...
> >  <act type="RecursiveDirectoryTraversalAction">
> >   <parameter value="{1}" name="request"/>
> > 
> > It seems to happen in all lm actions, I debugged the resourceTypeAction
> > and the same problem can be seen.
> > 
> > I attached the result of 
> > svn log . -v --xml >~/src/apache/forrest/trunk/lm.log.xml
> 
> I haven't looked at your log, but i was stung by something
> similar when developing the project sitemap for the
> DocBook integration that Brian suggested using SourceTypeAction .

The lm.log.xml is just all revisions on the lm since it is in the core.
I did not found any obvious changes that can cause this behavior. 

> 
> Perhaps you need 
> <parameter value="{../1}" name="request"/>
> ...................^^^

I will try but that raises the question: why {../1} and not like it
should be {1}?

Thanks for your comment David.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Mime
View raw message