[ http://issues.apache.org/jira/browse/PLUTO-187?page=all ]
Elliot Metsger reassigned PLUTO-187:
------------------------------------
Assignee: Elliot Metsger
> Inconsistent implementation of PortletUrl
> -----------------------------------------
>
> Key: PLUTO-187
> URL: http://issues.apache.org/jira/browse/PLUTO-187
> Project: Pluto
> Issue Type: Bug
> Components: portlet container
> Affects Versions: 1.0.1
> Reporter: Andreas Andreou
> Assigned To: Elliot Metsger
> Fix For: 1.0.2
>
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira