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

Norman Richards (JIRA) jira-events at lists.jboss.org
Thu Sep 13 10:38:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1656?page=all ]

Norman Richards resolved JBSEAM-1656.
-------------------------------------

    Resolution: Done

Fixed.  

> 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