Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: Upgrades
-
Labels:None
-
Environment:JSF 1.2 portlet using OpenPortal JSF portlet bridge version 1.2.3
-
Similar Issues:
Description
Portlets using the OpenPortal JSF portlet bridge stopped working in Liferay 6.1.1 CE GA2, this error occurs:
java.lang.RuntimeException: Unable to unwrap the portlet response from class com.sun.faces.portlet.ViewHandlerPortletRenderResponseWrapper
This is cause by the change of implementation in class com.liferay.portlet.PortletResponseImpl. Previsouly Reflection was used to invoke method getResponse, but this changed to expecting the response object to implement javax.portlet.filter.PortletResponseWrapper. The openPortal portlet bridge do not implement this interface. Since this seem to be the only change in this class I tried to use the class file for com.liferay.portlet.PortletResponseImpl from 6.1.0, and the problem vanished.

We will soon be releasing a version of Liferay Faces Bridge that includes support for JSF 1.2 and is based on the JSR 329 standard. Would you be able to migrate?