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

MessageStoreInterceptor must handle all redirects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.8
    • Fix Version/s: 2.5.10
    • Component/s: Core Interceptors
    • Labels:
      None

      Description

      Right now only ServletActionRedirect is handled by MessageStoreInterceptor in AUTOMATIC mode but there are others types of redirections.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 7e4d1b45ea9d349d22a9995dd38c8a21f0321ef0 in struts's branch refs/heads/master from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=7e4d1b4 ]

        WW-4725 Allows handle all redirection by MessageStoreInterceptor

        Show
        jira-bot ASF subversion and git services added a comment - Commit 7e4d1b45ea9d349d22a9995dd38c8a21f0321ef0 in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=7e4d1b4 ] WW-4725 Allows handle all redirection by MessageStoreInterceptor
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Struts-JDK7-master #572 (See https://builds.apache.org/job/Struts-JDK7-master/572/)
        WW-4725 Allows handle all redirection by MessageStoreInterceptor (lukaszlenart: rev 7e4d1b45ea9d349d22a9995dd38c8a21f0321ef0)

        • (edit) core/src/main/java/org/apache/struts2/result/ServletRedirectResult.java
        • (edit) core/src/main/java/org/apache/struts2/result/ServletActionRedirectResult.java
        • (edit) core/src/test/java/org/apache/struts2/interceptor/MessageStorePreResultListenerTest.java
        • (edit) core/src/main/java/org/apache/struts2/interceptor/MessageStorePreResultListener.java
        • (edit) core/src/main/java/org/apache/struts2/interceptor/MessageStoreInterceptor.java
        • (add) core/src/main/java/org/apache/struts2/result/Redirectable.java
        • (edit) plugins/json/src/main/java/org/apache/struts2/json/JSONActionRedirectResult.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Struts-JDK7-master #572 (See https://builds.apache.org/job/Struts-JDK7-master/572/ ) WW-4725 Allows handle all redirection by MessageStoreInterceptor (lukaszlenart: rev 7e4d1b45ea9d349d22a9995dd38c8a21f0321ef0) (edit) core/src/main/java/org/apache/struts2/result/ServletRedirectResult.java (edit) core/src/main/java/org/apache/struts2/result/ServletActionRedirectResult.java (edit) core/src/test/java/org/apache/struts2/interceptor/MessageStorePreResultListenerTest.java (edit) core/src/main/java/org/apache/struts2/interceptor/MessageStorePreResultListener.java (edit) core/src/main/java/org/apache/struts2/interceptor/MessageStoreInterceptor.java (add) core/src/main/java/org/apache/struts2/result/Redirectable.java (edit) plugins/json/src/main/java/org/apache/struts2/json/JSONActionRedirectResult.java

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            lukaszlenart Lukasz Lenart
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development