-
Type:
Technical Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0 DXP FP39, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X, Master
-
Component/s: None
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
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