You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Eric Dalquist (JIRA)" <ji...@apache.org> on 2008/01/07 20:50:34 UTC

[jira] Updated: (PLUTO-460) PortletPreferenceDD doesn't descriminate between no (null) values and empty values (new String[0])

     [ https://issues.apache.org/jira/browse/PLUTO-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Dalquist updated PLUTO-460:
--------------------------------

    Attachment: pluto_prefsdd.patch

Patch that fixes PortletPreferenceDD, PortletEntityImpl and the associated unit tests

> PortletPreferenceDD doesn't descriminate between no (null) values and empty values (new String[0])
> --------------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-460
>                 URL: https://issues.apache.org/jira/browse/PLUTO-460
>             Project: Pluto
>          Issue Type: Bug
>    Affects Versions: 1.1.4
>            Reporter: Eric Dalquist
>             Fix For: 1.1.5
>
>         Attachments: pluto_prefsdd.patch
>
>
> PortletPreferenceDD always initialized its values List to "new ArrayList();". This does not account for the portlet.xml to specify a name with no values in the descriptor. This was accounted for in PortletEntityImpl which is only partially related to PortletPreferenceDD and causes problems for other portals using the Pluto container. The fix is to initialize the values List to null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.