Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.1-core
-
None
-
JSR-168, JSR-301
Description
StateManagerImpl has a performance enhancement that is not compatible with JSR-301. Inside of the popRoot method inside of org.apache.myfaces.trinidadinternal.application.StateManagerImpl, the view root is retrieved using Application.createComponent();. The JSR-301 bridge has a special UIViewRoot that, due to limitations in the JSF specification, can only reasonably be retrieved through ViewHandler.createViewRoot(). We either need to try to try to retrieve the UIViewRoot using this mechanism OR we need to disable this performance optimization in a portal environment.