You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Sean Taylor (JIRA)" <je...@portals.apache.org> on 2016/03/15 19:09:33 UTC
[jira] [Created] (JS2-1351) NPE when Portlet Mode not Provided in
Supports
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