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

AnnotationParameterFilterIntereptor ignores Model pushed onto the ValueStack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.3
    • Core Interceptors
    • None
    • Patch

    Description

      Instead of directly grabbing the Action, the code should use the top of the ValueStack. Instead of:

      final Object action = invocation.getAction();

      it should be:

      final Object action = invocation.getStack().peek();

      Attachments

        Activity

          People

            jafl John Lindal
            jafl5272 John Lindal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: