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: