Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3845

Invalid modification of facesConfig.getFacesFlowDefinitions() collection when implicit flow definition is derived

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • JSR-344
    • None

    Description

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

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: