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

Strict Method Invocation breaks Action-Less Results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Plugin - Convention
    • Labels:
      None
    • Environment:

      Java 1.7

      Description

      Prior to strict-method-invocation, the convention plugin would allow for executing results (JSP) without an associated Action via the ConventionUnknownHandler.handleUnknownAction method. This continues to work with SMI disabled but when enabled the allowedMethods list in the ActionConfig does not get populated which causes a 404.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Struts-JDK7-master #481 (See https://builds.apache.org/job/Struts-JDK7-master/481/)
          WW-4643 Makes set unmodifiable (lukaszlenart: rev 7621c2bc92e46341caa245544e09d9d2a604f51c)

          • core/src/main/java/com/opensymphony/xwork2/config/entities/PackageConfig.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Struts-JDK7-master #481 (See https://builds.apache.org/job/Struts-JDK7-master/481/ ) WW-4643 Makes set unmodifiable (lukaszlenart: rev 7621c2bc92e46341caa245544e09d9d2a604f51c) core/src/main/java/com/opensymphony/xwork2/config/entities/PackageConfig.java
          Hide
          lukaszlenart Lukasz Lenart added a comment -

          PR merged, thanks!

          Show
          lukaszlenart Lukasz Lenart added a comment - PR merged, thanks!
          Hide
          jira-bot ASF subversion and git services added a comment -

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

          WW-4643 Makes set unmodifiable

          Show
          jira-bot ASF subversion and git services added a comment - Commit 7621c2bc92e46341caa245544e09d9d2a604f51c in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=7621c2b ] WW-4643 Makes set unmodifiable
          Hide
          jira-bot ASF subversion and git services added a comment -

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

          WW-4643 Fixes SMI when used with Action-less resutls

          Show
          jira-bot ASF subversion and git services added a comment - Commit b866e0e88000d52d4d16753ee393f8a00be13058 in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=b866e0e ] WW-4643 Fixes SMI when used with Action-less resutls
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user justinjmiller commented on the issue:

          https://github.com/apache/struts/pull/99

          done - https://issues.apache.org/jira/browse/WW-4643

          Show
          githubbot ASF GitHub Bot added a comment - Github user justinjmiller commented on the issue: https://github.com/apache/struts/pull/99 done - https://issues.apache.org/jira/browse/WW-4643

            People

            • Assignee:
              Unassigned
              Reporter:
              justinjmiller justin miller
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development