Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-696

TCK: Contesting V2 tests that expect PortletURL.setParameter(String,String...) to remove the value when null is passed in a V2.0 portlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • tck
    • None

    Description

      Apache Pluto fails the legacy Portlet 2.0 TCK SetParameterWithValuesIllegalArgumentExceptionTestPortlet because PortletURL.setParameter(String name, String... values) does not throw IllegalArgumentException when null is passed for the value.

      The following V 2.0 tests in the new Portlet 3.0 TCK are testing the Portlet 3.0 behavior, which is to remove the parameter from the URL when null is passed:

      • V2URLTests_BaseURL_ApiRenderActurl_setParameterB7
      • V2URLTests_BaseURL_ApiRenderRenurl_setParameterB7
      • V2URLTests_BaseURL_ApiRenderResurl_setParameterB7

      In order to fix this problem, these tests should test for IllegalArgumentException, and testing for removal should be done in V3URLTests.

      Attachments

        Issue Links

          Activity

            People

              ngriffin7a Neil Griffin (Inactive)
              ngriffin7a Neil Griffin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: