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

Phan Chuong (JIRA) jira-events at lists.jboss.org
Mon Feb 22 06:29:16 EST 2010


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


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