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-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org