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

Portlet 3.0 TCK: PortletRequest.getProperty and getProperties should throw IllegalArgumentException when name is null

Details

    Description

      This is caused by the fix of LPS-74355.

      Portlet API requires the getProperty and getProperties method to throw IllegalArgumentException when the parameter "name" is nulll. The change of LPS-74355 didn't include it, causing several TCK tests to fail.

      https://portals.apache.org/pluto/portlet-3.0-apidocs/javax/portlet/PortletRequest.html#getProperty(java.lang.String)
      https://portals.apache.org/pluto/portlet-3.0-apidocs/javax/portlet/PortletRequest.html#getProperties(java.lang.String)

      Attachments

        Issue Links

          Activity

            People

              brian.chan Brian Chan
              dante.wang Dante Wang
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 40 weeks ago

                Packages

                  Version Package
                  7.0.0 DXP FP31
                  7.0.5 CE GA6