You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Mohd Ahmed Khan (JIRA)" <ji...@apache.org> on 2016/06/12 11:26:20 UTC

[jira] [Resolved] (PLUTO-644) RuntimeException in processEvent is not handled

     [ 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)