[
http://jira.jboss.com/jira/browse/JBSEAM-2751?page=comments#action_12403934 ]
Przemyslaw Jaskierski commented on JBSEAM-2751:
-----------------------------------------------
I cannot express myself in english as good as I want to :(
Problem is described in JBSEAM-1840
Long running conversation backed by a JPDL pageflow. Backed by some conversational-scoped
pojos. Pojos have fields like:
class MyPojo {
private List<@Entity> list;
private @Entity entity;
}
1. First step of flow initializes this list using seam-managed LRC.
2. process by the page flow N steps forward
3. go back using pageflow n<<N steps (still in conversation)
4. Instead of originally initialized list = [@Entity1, @Entity2...] with .size() == 10, I
get list=[null, null...] with .size() == 10.
But when declaring by pojo like this:
class MyPojo {
private TRANSIENT List<@Entity> list;
private TRANSIENT @Entity entity;
}
this problem cease to appear. Why? Because (JBSEAM-1840) ManagedEntityIdentityInterceptor
leaves TRANSIENT fields alone (ignore(Field) method).
This is almost the case with any of the linked issues, so there is a real nasty problem
with ManagedEntityIdentityInterceptor.
There are test cases shown there, even a new one added by Dany to JBSEAM-1840:
http://jira.jboss.com/jira/browse/JBSEAM-1840#action_12387051
I cannot describe this problem any better, Norman. If this has no value for you, feel free
to ignore it.
Regards,
Przemek.
Outjected DataModel looses/forgets wrapped data
-----------------------------------------------
Key: JBSEAM-2751
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2751
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.1.GA
Environment: Linux Sarge, JBoss 4.2.2 GA,
Reporter: toni
Assigned To: Norman Richards
Priority: Minor
Fix For: 2.1.0.GA, 2.0.2.GA
Directly outjecting a DataModel into a conversation makes it forget/loose the data
wrapped inside of it.
--
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