Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2214

Entities in DataModel turns to null after some operations


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.CR1, 2.0.0.GA
    • Fix Version/s: 2.0.1.CR1
    • Component/s: Core
    • Labels:


      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).

        Gliffy Diagrams


          1. HotelBookingAction.java
            2 kB
          2. HotelSearchingAction.java
            2 kB
          3. screenshots.ZIP
            124 kB
          4. smpcProblem.zip
            11 kB
          5. sp.sql
            0.7 kB

            Issue Links



                • Assignee:
                  norman.richards Norman Richards
                  dkane Daniel Kane
                • Votes:
                  10 Vote for this issue
                  8 Start watching this issue


                  • Created: