Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-460

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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
        edalquist Eric Dalquist added a comment -

        Patch that fixes PortletPreferenceDD, PortletEntityImpl and the associated unit tests

        Show
        edalquist Eric Dalquist added a comment - Patch that fixes PortletPreferenceDD, PortletEntityImpl and the associated unit tests
        Hide
        emetsger Elliot Metsger added a comment -

        Committed to 1.1.x r611004.

        Show
        emetsger Elliot Metsger added a comment - Committed to 1.1.x r611004.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development