Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.0.1
-
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
- blocks
-
TAPESTRY-797 Method loadParameters() of PortletLink can throw exception
- Resolved