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

PortletException and RuntimeException in processAction are not handled by pluto

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: