]
Norman Richards closed JBSEAM-2214.
-----------------------------------
Resolution: Done
Entities in DataModel turns to null after some operations
----------------------------------------------------------
Key: JBSEAM-2214
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2214
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.CR1, 2.0.0.GA
Environment: Windows 2000 SP4
Java 1.6
JBoss 4.2.1 GA
Richfaces 3.1.1 GA
Browser : Mozilla Firefox 2.0
Reporter: Daniel Kane
Assigned To: Norman Richards
Fix For: 2.0.1.CR1
Attachments: HotelBookingAction.java, HotelSearchingAction.java, 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: