UIXComponent does not check if in context when setupChildrenContext is called -----------------------------------------------------------------------------
Key: TRINIDAD-2203 URL: https://issues.apache.org/jira/browse/TRINIDAD-2203 Project: MyFaces Trinidad Issue Type: Improvement Components: Components Affects Versions: 2.0.2-core Reporter: Andrew Robinson Assignee: Andrew Robinson UIXComponent has methods: setupVisitingContext setupChildrenEncodingContext setupEncodingContext setupChildrenVisitingContext and the corresponding tear down methods. The problem is that there is no code that validates that these methods have not been called more than once at a time. For example, if a component overrides the setupChildrenEncodingContext with code, and that method is called more than once, it may cause issues. By adding boolean flags and simple checks with warnings to the LOG it would be much easier for component authors to determine where the issue is instead of just allowing, silently, the excessive calls to be made. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira