You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org> on 2006/04/25 23:43:05 UTC
[jira] Updated: (TAPESTRY-797) Method loadParameters() of
PortletLink can throw exception
[ http://issues.apache.org/jira/browse/TAPESTRY-797?page=all ]
Brian K. Wallace updated TAPESTRY-797:
--------------------------------------
Component: Framework
> Method loadParameters() of PortletLink can throw exception
> ----------------------------------------------------------
>
> Key: TAPESTRY-797
> URL: http://issues.apache.org/jira/browse/TAPESTRY-797
> Project: Tapestry
> Type: Bug
> Components: Framework
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org