You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/11/17 19:26:43 UTC

DO NOT REPLY [Bug 24759] - [WOODY] - widget rendering error inside repeater on first request

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24759>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24759

[WOODY] - widget rendering error inside repeater on first request





------- Additional Comments From agallardo@agsoftware.dnsalias.com  2003-11-17 18:26 -------
Here is the first time I saw the bug:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106890512224047&w=2

I think the bug is related to the new SaxBuffers, but I am not sure.

Interesting enought is that the bug just happens once in every woody form you
have. Then everything is correct.

I tracked the bug and I found the bug happens at the endElement of widget
repeater and the start of the saxBuffer processing. The first widget the
"subTransformer" gets is incorrect there.

I hope this will help.

Re: DO NOT REPLY [Bug 24759] - [WOODY] - widget rendering error inside repeater on first request

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Torsten Curdt dijo:
>> This is just my guess, of course I can be wrong. It seems to be a
>> complex
>> bug, because it works fine when you have not woody repeaters at all.
>>
>> I saw how all the pointers to widgets are good configured and then when
>> the "new Created woody transformer" that would process the saxBuffer
>> receives the first startElement, the pointer to the widgets are wrong!
>>
>> I even dreamed last night with this bug! I thought it is related to
>> saxBuffers because AFAIK saxBuffers control the send() inside toSax()
>> method.
>>
>> I spent all the sunday understanding how the Woody Transformer works and
>> then why the problem is there. It is very interesting when you see how
>> are
>> all the pointer are changed.
>>
>> All in all I need help to solved this issue. I will be glad if you help
>> hunting the bug.
>
> ...maybe we can chat on irc about this tomorrow?

:-D Will be glad. Please choose the time for tomorrow. I am right now very
tired too. I just sleeped 4 hours (from 6:00 a.m to 10:00 a.m.) Here is
20:00 right now.

I will connect to the IRC now and check if you are there. I will stay for
a while and if you have time I can join the channel. Any way tell the the
time.

Best Regards,

Antonio Gallardo

Re: DO NOT REPLY [Bug 24759] - [WOODY] - widget rendering error inside repeater on first request

Posted by Torsten Curdt <tc...@vafer.org>.
> This is just my guess, of course I can be wrong. It seems to be a complex
> bug, because it works fine when you have not woody repeaters at all.
> 
> I saw how all the pointers to widgets are good configured and then when
> the "new Created woody transformer" that would process the saxBuffer
> receives the first startElement, the pointer to the widgets are wrong!
> 
> I even dreamed last night with this bug! I thought it is related to
> saxBuffers because AFAIK saxBuffers control the send() inside toSax()
> method.
> 
> I spent all the sunday understanding how the Woody Transformer works and
> then why the problem is there. It is very interesting when you see how are
> all the pointer are changed.
> 
> All in all I need help to solved this issue. I will be glad if you help
> hunting the bug.

...maybe we can chat on irc about this tomorrow?
--
Torsten


Re: DO NOT REPLY [Bug 24759] - [WOODY] - widget rendering error inside repeater on first request

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Torsten Curdt dijo:
> Hm... from testcase POV the SaxBuffer seems to be ok.
> But the testcase is still fairly simple :-/

This is just my guess, of course I can be wrong. It seems to be a complex
bug, because it works fine when you have not woody repeaters at all.

I saw how all the pointers to widgets are good configured and then when
the "new Created woody transformer" that would process the saxBuffer
receives the first startElement, the pointer to the widgets are wrong!

I even dreamed last night with this bug! I thought it is related to
saxBuffers because AFAIK saxBuffers control the send() inside toSax()
method.

I spent all the sunday understanding how the Woody Transformer works and
then why the problem is there. It is very interesting when you see how are
all the pointer are changed.

All in all I need help to solved this issue. I will be glad if you help
hunting the bug.

Best Regards,

Antonio Gallardo

Re: DO NOT REPLY [Bug 24759] - [WOODY] - widget rendering error inside repeater on first request

Posted by Torsten Curdt <tc...@vafer.org>.
> I think the bug is related to the new SaxBuffers, but I am not sure.
> 
> Interesting enought is that the bug just happens once in every woody form you
> have. Then everything is correct.
> 
> I tracked the bug and I found the bug happens at the endElement of widget
> repeater and the start of the saxBuffer processing. The first widget the
> "subTransformer" gets is incorrect there.
> 
> I hope this will help.

Hm... from testcase POV the SaxBuffer seems to be ok.
But the testcase is still fairly simple :-/
--
Torsten