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.
EnvUtils has been updated and the portlet detection logic has been improved.