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

Inconsistent implementation of PortletUrl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.1
    • unspecified
    • portlet container
    • None

    Description

      The implementation of setParameter(String name, String[] values) in PortletUrlImpl
      throws an IllegalArgumentException when the values array is an empty one, see
      http://portals.apache.org/pluto/multiproject/pluto/xref/org/apache/pluto/core/impl/PortletURLImpl.html

      However, this is inconsistent with jsr-168 specs which just states that
      an exception should be thrown only if "name or values are null"
      (taken from the javadocs of javax/portlet/PortletURL.java and also the portlet-1_0-fr-spec.pdf, pages
      31-32 do NOT state any such behaviour)

      Attachments

        Issue Links

          Activity

            People

              emetsger Elliot Metsger
              andyhot Andreas Andreou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: