Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4444

DefaultActionInvocation.invokeAction(Object,ActionConfig) catch too many exceptions

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3.20
    • 2.3.24
    • Core Actions
    • None

    Description

      Previous version (2.3.16) caught only NoSuchMethodException, but now any exception is wrapped in OgnlException and handled directly.
      In our case unknownHandlerManager contains only ConventionUnknownHandler so unknownHandlerManager.handleUnknownMethod(action, methodName) always return null. As a result ExceptionMappingInterceptor is not working.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lukaszlenart Lukasz Lenart
            soldierkam Marcin Kamionowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment