[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2214) Entities in DataModel turns to null after some operations
Daniel Kane (JIRA)
jira-events at lists.jboss.org
Tue Nov 6 02:50:44 EST 2007
Entities in DataModel turns to null after some operations
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR1
Environment: Windows 2000 SP4
JBoss 4.2.1 GA
Richfaces 3.1.1 GA
Browser : Mozilla Firefox 2.0
Reporter: Daniel Kane
Attachments: screenshots.ZIP, smpcProblem.zip, sp.sql
Application contains two pages, accessible from toolbar menu (s:links).
pages.xml contains <begin-conversation join="true"> for <page view-id="*"> , i.e. single global conversation should exist during the session. And it does, according URL (cid=1 always) and debug page.
Each page has backing component , SFSB scoped to conversation (by default).
Both components injects SMPC entityManager.
Both pages contains DataModel-based tables .
The problem and reproduction scenario :
1) Create and populate two database tables using the enclosed sql script.
2) Open http://host:8080/smpc-problem (screenshot p1) . There are two pages accessible from top toolbar menu. Pages lists data from data1 and data2 tables. Data is editable.
3) Switch to page2 and edit data in one or more fields. Click "Save" (screenshot p2)
4) Switch back to page1 and edit data in one or more fields. Click "Save". (screenshot p3)
After certain number of such actions (edit - save - switch to another page), the list on page1 or page 2 contains null entries (screenshot p4).
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