[Seaside-dev] Issue with #removeDecoration:

John Thornborrow john at pinesoft.co.uk
Tue May 27 16:03:21 UTC 2008


We've not overridden anything outside of the normal #updateRoot:, 
#initialize, etc.

I had suspicions that using the back button was related, but we have had 
instances where the back button was not used.

I'm still trying to pinpoint what causes it - we have some components 
that render other components and send #onAnswer: to those components. We 
also have tasks calling components that call (and sometimes #render:) 
other tasks.

Basically, I haven't narrowed it down enough yet, though I suspect it's 
only an issue during the #call: process (and possibly with the 
continuation) and not with the #answer: or #removeDecoration: process, 
as that is only a symptom.

I'll post more info when I get it.

Thanks,
John

Lukas Renggli wrote:
>>  MyTask>>go
>>   [(self call: self form)
>>     ifNotNilDo: [:anArray | " do something with the array, then reuse the
>> form "]
>>     ifNil: [^self answer]] repeat
> 
> That looks ok.
> 
> Decorations should always be wrapped in WAValueHolder/WAStateHolder though.
> 
> Did you accidently override one of the methods (#owner, #decoration,
> ...) in WAComponent?
> 
>>  I have tried this as a test, but due to the rarity of the error I can't
>> reliably test it.
> 
> Does the error happen when using the back button of the web browser?
> 
> Cheers,
> Lukas
> 

-- 
John Thornborrow
http://www.pinesoft.co.uk


******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA


More information about the seaside-dev mailing list