You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Andreas Andreou (JIRA)" <ji...@apache.org> on 2006/09/04 00:58:23 UTC
[jira] Commented: (PLUTO-187) Inconsistent implementation of
PortletUrl
[ http://issues.apache.org/jira/browse/PLUTO-187?page=comments#action_12432385 ]
Andreas Andreou commented on PLUTO-187:
---------------------------------------
Well, what happenned? Does the TCK pass with this change?
> 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