[ https://issues.apache.org/jira/browse/WW-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-4632: ------------------------------ Fix Version/s: 2.5.1 > SMI cannot be disabled > ---------------------- > > Key: WW-4632 > URL: https://issues.apache.org/jira/browse/WW-4632 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.5 > Reporter: Christoph Nenning > Priority: Minor > Fix For: 2.5.1 > > > My app uses json plugin and my root-package extends {{json-default}}. When I > specify {{strict-method-invocation="false"}} on my root-package it is not > possible to access any methods. I get exceptions like this: > {noformat} > com.opensymphony.xwork2.config.ConfigurationException: This method: login for > action login is not allowed! > at > com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:200) > ~[struts2-core-2.5.jar:2.5] > at > org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:63) > ~[struts2-core-2.5.jar:2.5] > at > org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37) > ~[struts2-core-2.5.jar:2.5] > at > com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) > ~[struts2-core-2.5.jar:2.5] > at > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:546) > [struts2-core-2.5.jar:2.5] > at > org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) > [struts2-core-2.5.jar:2.5] > at > org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:113) > [struts2-core-2.5.jar:2.5] > {noformat} > When I specify {{allowed methods}} (in xml or with annotations) I can access > those. -- This message was sent by Atlassian JIRA (v6.3.4#6332)