Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-644

RuntimeException in processEvent is not handled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0-M3
    • 2.0.4
    • portlet container

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mahmedk91 Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: