[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2562) 'Transaction failed' JSF message when number of restriction in EntityQuery changes

Siarhei Dudzin (JIRA) jira-events at lists.jboss.org
Thu Jan 31 10:03:59 EST 2008


'Transaction failed' JSF message when number of restriction in EntityQuery changes
----------------------------------------------------------------------------------

                 Key: JBSEAM-2562
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2562
             Project: JBoss Seam
          Issue Type: Bug
          Components: Framework
    Affects Versions: 2.0.1.GA
         Environment: JBoss AS 4.2.2, Windows XP
            Reporter: Siarhei Dudzin


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

-- 
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 mailing list