Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74114 Make Liferay compatible with version 2.0 tests in the Portlet 3.0 TCK
  3. LPS-77364

Portlet 3.0 TCK: PortletURL.removePublicRenderParameter(String name) should remove the public render parameter when the URL is invoked

    Details

      Description

      The PortletURL.removePublicRenderParameter(String name) method should remove the public render parameter when the URL is invoked. Instead, it sets the value to "1".

      Steps to Reproduce:

      1. Deploy the attached com.liferay.issue.lps77364.portlet.war artifact

      2. Add the LPS-77364 portlet to a portal page

      3. Reload the page and verify that the table of parameters has zero rows.

      4. Click on the link titled "Invoke RENDER_PHASE (SET myPRP=abc)"

      5. Verify that the table of parameters has one row in which the "myPRP" parameter is set to "abc"

      6. Click on the link titled "Invoke RENDER_PHASE (REMOVE myPRP)"

      Expected Result

      The table of parameters has zero rows.

      Actual Result

      The table of parameters has one row in which the "myPRP" parameter is set to "1"

      Portlet 3.0 TCK Failures

      This issue causes the following failures in the Portlet 3.0 TCK:

      • V2URLTests_BaseURL_ApiRenderActurl_setParameters1
      • V2URLTests_BaseURL_ApiRenderActurl_setParameters4
      • V2URLTests_BaseURL_ApiRenderActurl_setParameters6
      • V2URLTests_BaseURL_ApiRenderActurl_setParameters7
      • V2URLTests_BaseURL_ApiRenderActurl_setParameters8
      • V2URLTests_BaseURL_ApiRenderActurl_setParameters9
      • V2URLTests_PortletURL_ApiRenderRenurl_removePublicRenderParameter1

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              neil.griffin Neil Griffin
              Recent user:
              Csaba Turcsan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 43 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP39
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                Master