Blake Sullivan created TRINIDAD-2378: ----------------------------------------
Summary: UIXComponentBase should override clearCachedClientId to avoid calling getId() at times when the UIViewRoot isn't present Key: TRINIDAD-2378 URL: https://issues.apache.org/jira/browse/TRINIDAD-2378 Project: MyFaces Trinidad Issue Type: Bug Components: Components Affects Versions: 2.1.0-core Reporter: Blake Sullivan Assignee: Blake Sullivan The current implementation of clearCachedClientIds on UIXComponent is final and always calls setId() with the result of getId(). The problem is that calling getId() requires a call to UIViewRoot.getUniqueId() if the component does not already have an id. Unfortunately, there are times when the UIViewRoot isn't attached to the FacesContext when we need to clear cached client ids. The easiest and fastest solution is to make clearCachedClientIds() non-final and allow UIXComponentBase to override the method to clear out its cached clientId directly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira