[ 
https://issues.apache.org/jira/browse/WOOKIE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197771#comment-13197771
 ] 

Paul Sharples commented on WOOKIE-306:
--------------------------------------

This works a lot better now and the test passes everytime.  Occasionally there 
is a warning in the console...

11:48:06,244  WARN Runtime:89 - Detected possible orphaned reference to deleted
object "[761, 762, 763, 764]" in 
"org.apache.wookie.beans.jpa.impl.WidgetInstanceImpl.preferences<element:class 
org.apache.wookie.beans.jpa.impl.PreferenceImpl>" of instance "703".

...where 762 is the 'test1' tuple which has been removed in the database after 
opening the 'au' widget the first time.

If you are happy with it we can close this.  However, as you mention i think 
longer term we need to re-think our persistence mechanism, to try and get rid 
of these kinds of issues.
                
> Widget Interface: Conflicts when using Clear() and SetItem()
> ------------------------------------------------------------
>
>                 Key: WOOKIE-306
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-306
>             Project: Wookie
>          Issue Type: Bug
>            Reporter: Scott Wilson
>             Fix For: 0.9.2
>
>
> When running the W3C Test Case "au", Wookie fails to correctly set a value 
> after calling clear() first and then reloading the page.
> This is likely caused by the clear() process executing and overriding the 
> subsequent (in script order terms) setItem() call, either on the client side 
> or server side. 
> To replicate, use this widget:
> http://dev.w3.org/2006/waf/widgets-api/test-suite/test-cases/ta-aa/au/au.wgt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to