Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29144

Portlets using OpenPortal JSF portlet bridge stopped working when switching from 6.1.0 CE GA1 to 6.1.1 CE GA2

    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
    • Labels:
      None
    • Environment:
      JSF 1.2 portlet using OpenPortal JSF portlet bridge version 1.2.3

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 27 weeks, 1 day ago