[ http://issues.apache.org/jira/browse/BEEHIVE-1148?page=all ]

Carlin Rogers resolved BEEHIVE-1148.
------------------------------------

    Resolution: Fixed
      Assignee: Julie Zhuo  (was: Carlin Rogers)

fixed with SVN revision 451365

http://svn.apache.org/viewvc?view=rev&rev=451365

> 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: Julie Zhuo
>             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