Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-1351

NPE when Portlet Mode not Provided in Supports

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: None
    • Labels:
      None

      Description

      When the portlet.xml has a <supports> element without a sub <portlet-mode> element, the decorator processing NPEs. While there should always be at least one portlet-mode listed in supports, we should handle this more gracefully. Example portlet.xml that can cause NPE:

      <supports>
      <mime-type>text/html</mime-type>
      </supports>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            taylor David Sean Taylor
            Reporter:
            taylor David Sean Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development