[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-707) Cannot save portlet preference with null value

Trong Tran (JIRA) jira-events at lists.jboss.org
Tue Feb 23 06:39:10 EST 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515976#action_12515976 ] 

Trong Tran commented on GTNPORTAL-707:
--------------------------------------

it will be great if we can have a unit test for this

> Cannot save portlet preference with null value
> ----------------------------------------------
>
>                 Key: GTNPORTAL-707
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-707
>             Project: GateIn Portal
>          Issue Type: Bug
>    Affects Versions: 3.0.0-Beta05-CP01
>            Reporter: Phan Chuong
>             Fix For: 3.0.0-GA
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> We cannot save a portlet preference if the value is null. You can see in this class org.exoplatform.portal.pom.spi.portlet.Preference
>     for (String value : values)
>       {
>          if (value == null)
>          {
>             throw new IllegalArgumentException();
>          }
>       }
> But we can save if the value is a string "null".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list