Method loadParameters() of PortletLink can throw exception
----------------------------------------------------------
Key: TAPESTRY-797
URL: http://issues.apache.org/jira/browse/TAPESTRY-797
Project: Tapestry
Type: Bug
Versions: 4.0
Environment: JVM 1.5.0_03, Linux, Jetspeed Portal
Reporter: Andreas Andreou
Priority: Minor
loadParameters() calls setParameter(String, String[]) on a
javax.portlet.PortletURL
In Jetspeed's implementation of that class, if the second argument is an empty
array,
an exception is thrown saying:
"name and values must not be null or values be an empty array"
So, line 116 of PortletLink can become:
if (values != null && values.length>0)
Now, I don't know if JSR-168 says something about what kind of arguments are
allowed for
the setParameter method, so maybe Jetspeed is also to blame here...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]