[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1656) passivated entities in parent conversations cause version problems when they're updated

Matt Drees (JIRA) jira-events at lists.jboss.org
Fri Sep 14 15:08:13 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1656?page=comments#action_12376940 ] 
            
Matt Drees commented on JBSEAM-1656:
------------------------------------

Thanks Norman.

> passivated entities in parent conversations cause version problems when they're updated
> ---------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1656
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1656
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.BETA1
>         Environment: current cvs
>            Reporter: Matt Drees
>         Assigned To: Norman Richards
>            Priority: Blocker
>             Fix For: 2.0.0.CR1
>
>         Attachments: EntityPassivationTest.java, Thing.java
>
>
> If an entity in a parent conversation is updated and the persitence context is flushed, it gets a new version.  However, the passivatedEntity in its EntityBean wrapper still has the old version.  The wrapper is not passivate()ed at the end of the request, because it's not in the current conversation.  So, when the nested conversation ends and the wrapper is activate()ed at the beginning of a request, the version mismatch causes a StaleStateException.
> See the forum post for more details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list