Commits

rainerh  committed af31abf

AliasInterceptor checks wrong parameters map
o applied suggested fix (by Jasper Rosenberg)

Issue Number: XW-515

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/2.0@1505e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 35ddaa5
  • Branches 2.0, xwork_2_0_7

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/interceptor/AliasInterceptor.java

                     Object value = stack.findValue(name);
                     if (null == value) {
                         // workaround
-                        Map contextParameters = (Map) stack.getContext().get("parameters");
+                        Map contextParameters = ac.getParameters();
                         
                         if (null != contextParameters) {
                             value = contextParameters.get(name);