Andreas Hartmann wrote:
> Joern Nettingsmeier wrote:
>>>> i haven't used bxe in a few days, so i can't say when exactly this bug
>>>> was introduced, but i think it used to work a week ago.
>>> just a shot in th dark, but it's not related to the new usecase policies
>>> - i reproduced it with a default-permit UsecaseAuthorizer...
>>>
>>
>> can anyone confirm this? it's a bit of a red-ear issue to me, as i have
>> to give a presentation about the state of our lenya deployment in an
>> hour...
> 
> I can confirm it.
> The problem lies here:
> 
> 
> modules/bxe/sitemap.xmap
> 
>   <map:match pattern="**/*.html">
>     ...
>     <map:parameter name="BX_xhtmlfile"
> value="{../2}.bxe.html?rendertype=edit"/>
> 
> 
> The expression {../2} should return the single URL snippet after the
> last slash, but in fact it returns a path:
> 
>   <file name="BX_xhtmlfile">authoring/index.bxe.html?rendertype=edit</file>
> 
> I guess this is caused by the recent changes to the WildcardHelper & Co.
> We should add this to Cocoon's WildcardHelper test case and report a bug.

thanks for that pointer. a workaround:

 svn update --revision 30932 AbstractWildcardMatcher.java
 svn update --revision 30932 helpers/WildcardHelper.java
 svn update --revision 30932 modular/*Wild*

you will also have to revert the test cases, but i forgot which they
were. just follow the error messages.

it may break other things, i haven't done much testing, but it fixes the
"body" element issue.


-- 
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
        - Ásmundur Sveinsson (1893-1982)

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to