[jira] [Created] (JS2-1351) NPE when Portlet Mode not Provided in Supports
"David Sean Taylor (JIRA)" <[email protected]> Tue, 15 Mar 2016 18:09:33 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.jetspeed.devel |
|---|---|
| Message-ID | <[email protected]> |
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)