Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
2.3.0
-
None
-
None
Description
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>