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

NPE when Portlet Mode not Provided in Supports

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.3.0
    • 2.3.1
    • None
    • 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>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: