Mohd Ahmed Khan created PLUTO-643: ------------------------------------- Summary: PortletException and RuntimeException in processAction are not handled by pluto Key: PLUTO-643 URL: https://issues.apache.org/jira/browse/PLUTO-643 Project: Pluto Issue Type: Bug Components: portlet container, portlets-testsuite Affects Versions: 2.1.0-M3 Reporter: Mohd Ahmed Khan Priority: Minor
Failing test cases: 1) V2AddlPortletTests_SPEC2_5_ActionHandling_exception1 - If the portlet throws an PortletException in processAction, all operations on the ActionResponse, including set events, must be ignored. 2) V2AddlPortletTests_SPEC2_5_ActionHandling_exception2 - If the portlet throws a RuntimeException in processAction, all operations on the ActionResponse, including set events, must be ignored These tests cannot be tested as portlet crashes giving out the respective exception. If we catch the exception within processAction method and set event on ActionResponse portletResp, then the event gets executed which is wrong. If we do not catch the exception then portlet container shows exception instead of ignoring operations on ActionResponse. -- This message was sent by Atlassian JIRA (v6.3.4#6332)