Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.1.0-M3
Description
Failing test case:
1) V2AddlPortletTests_SPEC2_5_EventHandling_exception5 - If the portlet throws a RuntimeException in processEvent, all operations on the EventResponse, including set events, must be ignored
Test cannot be tested as portlet crashes giving out the RuntimeException.
If we catch the exception within processEvent method and set render parameter on EventResponse portletResp, we can see the render parameter in render method which is wrong.
If we do not catch the exception then portlet container shows exception instead of ignoring operations on EventResponse.