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

Unnamespaced paremeters unreachable from ActionRequest with getParameter method

    Details

    • Fix Priority:
      3

      Description

      Issue
      ----------------------
      Unreachable parameters from ActionRequest in portlet configuration processAction() method although "requires-namespaced-parameters" property is set to false.

      Steps to reproduce
      ----------------------
      1) Set following tag properties in liferay-portlet.xml:
      <configuration-action-class>com.demo.ConfigurationActionImpl</configuration-action-class>
      <requires-namespaced-parameters>false</requires-namespaced-parameters>

      2) In ConfigurationActionImpl class (extending DefaultConfigurationAction) and processAction(PortletConfig, ActionRequest, ActionResponse) method:
      Call com.liferay.portal.kernel.util.ParamUtil.getString(PortletRequest portletRequest, String param, String defaultValue) always return <null> even if parameter (key/value) is in the original request (ApplicationHttpRequest).

      Question
      ----------------------
      I would like to know if this bug will be fix shortly or if a quick workaround exists.
      Please notice that i use GWT to build my form so all parameter names/ids don't contain the tag <portlet:namespace />.

      Best regards.
      Damuien.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                5 years, 21 weeks, 6 days ago

                Packages

                Version Package