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

Public render parameters always return NULL

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed

      Description

      Portlet A sets a public render parameter
      response.setRenderParameter("FOO", "bar");

      Portlet B reads the public render parameter
      renderRequest.getParameter("FOO");

      The render parameter "FOO" is null in Portlet B

      Revision 70846 of PortletRequestImpl as part of LPS-3022 changed line 741 in the method mergePublicRenderParameters from:

      String[] values = _publicRenderParameters.get(
      PortletQNameUtil.getKey(qName));
      to:
      String[] values = _publicRenderParameters.get(
      PortletQNameUtil.getPublicRenderParameterName(qName));

      Returning this code back to:
      String[] values = _publicRenderParameters.get(
      PortletQNameUtil.getKey(qName));

      makes the public render parameter visible to Portlet B again.

      Can you investigate the fix to LPS-3022 and ensure that it doesn't break the availability of public render parameters in other portlets.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 19 weeks ago

                  Packages

                  Version Package
                  6.0.X EE
                  --Sprint 12/11
                  6.1.0 CE RC1