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

    • Similar Issues:
      Show 5 results 

      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.

        Activity

        Hide
        Neil Griffin added a comment -

        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?

        Show
        Neil Griffin added a comment - 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?
        Hide
        Urban Lindberg added a comment -

        We would be interested in that, for know we made an extension plugin, that replaces this class to the older version from 6.1.0.

        Show
        Urban Lindberg added a comment - We would be interested in that, for know we made an extension plugin, that replaces this class to the older version from 6.1.0.
        Hide
        Neil Griffin added a comment -

        The GA1 release will be coming soon, but for now you can download version 2.1.0-ga1-SNAPSHOT from the snapshot repository:
        http://repository.portletfaces.org/content/repositories/liferay-snapshots/com/liferay/faces/

        Show
        Neil Griffin added a comment - The GA1 release will be coming soon, but for now you can download version 2.1.0-ga1-SNAPSHOT from the snapshot repository: http://repository.portletfaces.org/content/repositories/liferay-snapshots/com/liferay/faces/
        Hide
        Neil Griffin added a comment -

        The GA1 release is out now. For JSF 1.2 based portlets, you will need to download version "2.1.0-ga1" of Liferay Faces.

        Show
        Neil Griffin added a comment - The GA1 release is out now. For JSF 1.2 based portlets, you will need to download version "2.1.0-ga1" of Liferay Faces.
        Hide
        Mika Koivisto added a comment -

        If you still need to develop portlets using JSF 1.2 we recommend using Liferay Faces Bridge.

        Show
        Mika Koivisto added a comment - If you still need to develop portlets using JSF 1.2 we recommend using Liferay Faces Bridge.
        Hide
        Edward Gonzales added a comment -

        Hello everyone! We are in the process of removing component "Portlet" from LPS. Please replace this issue's component, "Portlet", with a new component. There are over 200+ components, in the newly organized component list. Also, make the necessary adjustments to affected filters. Thanks!

        Show
        Edward Gonzales added a comment - Hello everyone! We are in the process of removing component "Portlet" from LPS. Please replace this issue's component, "Portlet", with a new component. There are over 200+ components, in the newly organized component list. Also, make the necessary adjustments to affected filters. Thanks!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 44 weeks, 6 days ago

              Development

                Structure Helper Panel