Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1, EE-2.0.0.GA
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 portal portlet
Description
There are a few places where we rely on checking the request to see if it's an HttpServletRequest and, if not, assume we're running in a portlet environment. However, some portal containers wrap their requests and responses so that they implement both the PortletRequest/PortletResponse interfaces as well as the non-portlet versions (HttpServletRequest, HttpServletResponse). Our detection code does not handle this and will assume a non-portlet environment, leading to problems. The detection code needs to be able to take this into account.
Resolved. This was mostly driven by WebSphere Portal where incoming requests can implement both Portlet* and HttpServlet* versions of requests and responses so checking if something is the HttpServlet version was not enough.