portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Created] (JS2-1351) NPE when Portlet Mode not Provided in Supports
Date Tue, 15 Mar 2016 18:09:33 GMT
David Sean Taylor created JS2-1351:
--------------------------------------

             Summary: NPE when Portlet Mode not Provided in Supports 
                 Key: JS2-1351
                 URL: https://issues.apache.org/jira/browse/JS2-1351
             Project: Jetspeed 2
          Issue Type: Bug
    Affects Versions: 2.3.0
            Reporter: David Sean Taylor
            Assignee: David Sean Taylor
             Fix For: 2.3.1


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>





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message