[ 
http://issues.apache.org/jira/browse/TAPESTRY-797?page=comments#action_12360047 
] 

Andreas Andreou commented on TAPESTRY-797:
------------------------------------------

ok, I did a little searching in the specs, and pluto's implementation 
(that's what jetspeed and many other portals are using) and it seems their 
implementation 
is inconsistent with the specs (and pluto is supposed to be a RI of the portlet 
api!).

Anyway, I've posted a jira issue for them at
http://issues.apache.org/jira/browse/PLUTO-187
and as soon as we get a comment, we could close this issue.

> 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]

Reply via email to