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

'Transaction failed' JSF message when number of restrictions in EntityQuery changes

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1.GA
    • Fix Version/s: The future
    • Component/s: Framework
    • Labels:
      None
    • Environment:

      JBoss AS 4.2.2, Windows XP

      Description

      When getRestrictions() from EntityQuerry returns dynamic list with restrictions a JSF error message 'Transaction failed' is shown (no exceptions just a message). I noticed this happens when the size of the list is decreased in comparison with the previous request (There is also a warning in the logs).

      While this JSF message is shown the query still works!

      After some debugging I've found that the underlying error is that a value binding could not be found. A temprorarily workaround is to keep the restriction list constant by filling the 'gaps' with placeholders like #

      {true}

      =true (just to keep the size constant).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                svadu Siarhei Dudzin
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: