The code you copied was an incorrect workaround for an old bug. Just
remove it.

-----Original Message-----
From: Sylvain Wallez [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2003 12:45 PM
To: [EMAIL PROTECTED]
Subject: Re: cvs
commit:cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/jav
ascriptwoody.js

Christopher Oliver wrote:

>Never. It's a bug in the flow implementation if it is. The script
shouldn't check for it.
>

Sorry Chris, but I just copied over to showForm() some code that you 
wrote in show(), without really understanding its behaviour ;-)

Is this related to an old bug ? Can we safely remove this check ?

>-----Original Message-----
>From: Bruno Dumon [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, September 09, 2003 7:42 AM
>To: [EMAIL PROTECTED]
>Subject: Re: cvs
>commit:cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/ja
v
>ascriptwoody.js
>
>On Tue, 2003-09-09 at 16:38, [EMAIL PROTECTED] wrote:
><snip cvs commit message/>
>  
>
>>  +    while (true) {
>>  +        if (cocoon.request == null) {
>>  +            // this continuation has been invalidated
>>  +            this.dead = true;
>>  +            handleInvalidContinuation();
>>  +            Woody.suicide();
>>  +        }
>>    
>>
>While we're at it... anyone knows under what conditions exactly the
cocoon.request can be null?
>

Sylvain

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


Reply via email to