[
https://issues.apache.org/jira/browse/PLUTO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohd Ahmed Khan resolved PLUTO-644.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.4
Resolved by Scott.
> RuntimeException in processEvent is not handled
> -----------------------------------------------
>
> Key: PLUTO-644
> URL: https://issues.apache.org/jira/browse/PLUTO-644
> Project: Pluto
> Issue Type: Bug
> Components: portlet container
> Affects Versions: 2.1.0-M3
> Reporter: Mohd Ahmed Khan
> Priority: Minor
> Labels: test
> Fix For: 2.0.4
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)