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

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 11 08:46:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2604?page=all ]

Pete Muir updated JBSEAM-2604:
------------------------------

    Fix Version/s: 2.0.2.GA
                   2.1.0.GA

> 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
>             Fix For: 2.0.2.GA, 2.1.0.GA
>
>
> 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