cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Wrong restauration of environment context after pass-through
Date Fri, 28 Jan 2005 16:59:46 GMT
Carsten Ziegeler wrote:

> Sylvain Wallez wrote:
>
>> Hi all,
>>
>> I need help to fix a weird bug [1] that appears when a "cocoon:" URL 
>> is used after a sitemap mount with pass-through="true" causes coming 
>> back to the parent sitemap.
>>
>> In such case, and only when "cocoon:" is used (normal files work 
>> fine), the environment context is not restored to its proper value 
>> and still points to the mounted sitemap context.
>>
>> I commited a testcase for this in 2.1 which you can find at 
>> http://localhost:8888/samples/test/pass-through/explain-test.html
>>
>> I couldn't find the bug and this is currently a blocker for one of 
>> our projects: the pass-through is used a generic portal app where 
>> specific projects can do some overriding in pass-through sitemaps.
>>
>> Any help is very welcome (Carsten?).
>>
>> Sylvain
>>
>> [1] http://issues.apache.org/bugzilla/show_bug.cgi?id=33178
>>
> Hmm, I already tried to remember when Nicola Ken wanted this feature 
> what the problem with it was; I still have the feeling that there are 
> problems that can't be solved that easily in 2.1 with this. At least 
> it was one of the reasons for rewriting the stuff in 2.2.


I suspect something related to changeContext/changeToLastContext, as 
going back to the parent sitemap leaves the env with a different value 
for lastContext, but couldn't find how/where this caused a problem. Any 
hint?

> Anyways, if I have a time over the weekend I will have a look at it, 
> but I can't promise.


Thanks! (hoping you'll have a bit of time)

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message