Pluto
  1. Pluto
  2. PLUTO-460

PortletPreferenceDD doesn't descriminate between no (null) values and empty values (new String[0])

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Elliot Metsger added a comment -

        Committed to 1.1.x r611004.

        Show
        Elliot Metsger added a comment - Committed to 1.1.x r611004.
        Hide
        Eric Dalquist added a comment -

        Patch that fixes PortletPreferenceDD, PortletEntityImpl and the associated unit tests

        Show
        Eric Dalquist added a comment - Patch that fixes PortletPreferenceDD, PortletEntityImpl and the associated unit tests

          People

          • Assignee:
            Elliot Metsger
            Reporter:
            Eric Dalquist
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development