[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2604) parsing page.xml is not thread safe

Norman Richards (JIRA) jira-events at lists.jboss.org
Thu Feb 7 18:55:03 EST 2008


parsing page.xml is not thread safe
-----------------------------------

                 Key: JBSEAM-2604
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2604
             Project: JBoss Seam
          Issue Type: Bug
            Reporter: Norman Richards
         Assigned To: Norman Richards


When a view is accessed for the first time, the Pages.parse() is called to create a new Page object.  The object is immediately put in pagesByViewId, which makes it available (in an incomplete state) to concurrent requests.   The result can be incorrect page state (and incorrect processing) or even concurrent modification errors if the parsing is inserting values into lists in the Page object that are being iterated over on another thread.  




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