myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Lucy (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-4066) FlowBuilderFactoryBean Concurrency Issue
Date Mon, 26 Sep 2016 19:11:21 GMT
Bill Lucy created MYFACES-4066:
----------------------------------

             Summary: FlowBuilderFactoryBean Concurrency Issue
                 Key: MYFACES-4066
                 URL: https://issues.apache.org/jira/browse/MYFACES-4066
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.11
         Environment: WebSphere Liberty
            Reporter: Bill Lucy
            Assignee: Bill Lucy
            Priority: Minor


I've come accross a concurrency issue in org.apache.myfaces.flow.cdi.FlowBuilderFactoryBean.getFlowDefinitions().
 If multiple applications (with programmatic flows) are starting up simultaneously, it's possible
that the two responsible threads can concurrently modify the shared object FlowBuilderFactoryBean.flowDefinitions.
 That can result in the flowDefinitions for one of the applications not being processed. 


Synchronizing the getFlowDefinitions() method is the simplest fix for this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message