PageFlowActionListener needs to check request type before casting to 
ServletRequest
-----------------------------------------------------------------------------------

                 Key: BEEHIVE-1148
                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1148
             Project: Beehive
          Issue Type: Bug
          Components: NetUI
    Affects Versions: 1.0.1, v.next
            Reporter: Carlin Rogers
         Assigned To: Carlin Rogers
             Fix For: v.next


Currently, the PageFlowActionListener.processAction() unconditionally cast the 
request object to an ServletRequest. This can cause a ClassCastException. The 
result of javax.faces.context.ExternalContext.getRequest() is of type Object 
and can legally be something other than an ServletRequest. It could also be a 
PortletRequest (such as in the case of a JSR 168 JSF bridge).

This bug is very similar to BEEHIVE-1142. For now at least, the NetUI faces 
support should check the type before casting.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to