Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.1, 1.0.2
-
None
-
None
Description
As with the other methods in PageFlowViewHandler, the method renderView() should check that the request is an instance of HttpServletRequest. At the moment, renderView() is being unconditionally cast to an HttpServletRequest. This can cause a ClassCastException. The result of getRequest() is of Object type and can legally be something other than an HttpServletRequest (such as in the case of a JSR 168 JSF bridge, where it is a RenderRequest).