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

renderRequest.getparameter() returns null for friendly URL parameter

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.0 CE RC1
    • Fix Version/s: None
    • Component/s: Portal Services
    • Labels:
      None
    • Fix Priority:
      3

      Description

      {markdown}
      Steps to reproduce:

      1. Download, unzip, and build the attached portlet:

      cd test-java-portlet && mvn clean install

      2. Deploy the attached portlet to Liferay 7:

      cp target/test-java-portlet-1.0-SNAPSHOT.war $PORTALS_HOME/liferay-7.0/deploy/

      3. Add the `test-java-portlet` to a page.
      4. Click the RenderURL link.

      If the bug still exists, then the portlet will show `foo = null`. If the bug is fixed, the portlet will show `foo = 1234`.

      *Note:* This portlet works correctly (with friendly URLs) in Liferay 6.2. The portlet also works correctly, if you turn off friendly URLs (by commenting out the friendly URL lines in *`liferay-portlet.xml`) in Liferay 7. Action and Resource friendly URL parameters work correctly. You can also test them with this portlet by clicking the *ActionURL button or ResourceURL link and looking in the server logs for `!@#$ foo = ${fooValue}`. {markdown}

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 29 weeks, 6 days ago

                Packages

                Version Package