[jira] [Resolved] (JS2-1351) NPE when Portlet Mode not Provided in Supports
"David Sean Taylor (JIRA)" <[email protected]> Tue, 15 Mar 2016 18:17:33 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.jetspeed.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/JS2-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Sean Taylor resolved JS2-1351.
------------------------------------
Resolution: Cannot Reproduce
> 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)