Leonardo Uribe created MYFACES-3944:
---------------------------------------

             Summary: Calls to fcc.startComponentUniqueIdSection(...) and 
fcc.endComponentUniqueIdSection(...) should be surrounded in a try finally block
                 Key: MYFACES-3944
                 URL: https://issues.apache.org/jira/browse/MYFACES-3944
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-344
    Affects Versions: 2.2.6
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


In some situations where an exception could be raised inside a component like 
c:forEach, and on the same time fcc.startComponentUniqueIdSection(...) and 
fcc.endComponentUniqueIdSection(...) are used, the section is not closed, 
affecting theoretically the ids generated.

The probability of something like this is very low, but as a good practice it 
would be better to ensure  fcc.startComponentUniqueIdSection(...) and 
fcc.endComponentUniqueIdSection(...)  are called inside a try{...} finally 
block.



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

Reply via email to