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-74515

Portlet 3.0 TCK: BaseURL.setParameter: if the value is null, all values for the specified key are removed.

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      3 Portlet TCK test fail because URL parameters are not removed when set to a value of null:

      • V2URLTests_BaseURL_ApiRenderActurl_setParameterB7
      • V2URLTests_BaseURL_ApiRenderRenurl_setParameterB7
      • V2URLTests_BaseURL_ApiRenderResurl_setParameterB7

      Details: Method setParameter(String, String[]): If the value is null, all values for the specified key are removed.

      And in Portlet Spec A.3.2:

      PortletURL.setParameter called with a null value as value did throw an IllegalStateException whereas in V2.0 it results in removing that parameter from the PortletURL.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dante.wang Dante Wang
            Recent user:
            Brian Chan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 10 weeks, 1 day ago

                Packages

                Version Package