You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/01/20 01:48:19 UTC

[jira] [Created] (MYFACES-3845) Invalid modification of facesConfig.getFacesFlowDefinitions() collection when implicit flow definition is derived

Leonardo Uribe created MYFACES-3845:
---------------------------------------

             Summary: Invalid modification of facesConfig.getFacesFlowDefinitions() collection when implicit flow definition is derived
                 Key: MYFACES-3845
                 URL: https://issues.apache.org/jira/browse/MYFACES-3845
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-344
    Affects Versions: 2.2.0
            Reporter: Leonardo Uribe


I found an small bug running some examples for JSF 2.2 Faces Flow. When implicit flow definition is derived there is a call to facesConfig.getFacesFlowDefinitions().add(flow). That code worked well before, but in the cleanup the code was updated to return a not modifiable collection in getFacesFlowDefinitions().

The solution is just replace the line with:

facesConfig.addFacesFlowDefinition(flow);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)