struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4632) SMI cannot be disabled
Date Sun, 12 Jun 2016 11:48:21 GMT

    [ https://issues.apache.org/jira/browse/WW-4632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326397#comment-15326397
] 

Hudson commented on WW-4632:
----------------------------

FAILURE: Integrated in Struts-JDK7-master #477 (See [https://builds.apache.org/job/Struts-JDK7-master/477/])
WW-4632 Uses proper DTD version (lukaszlenart: rev e60119436a00a3ac177439c8e17d9743dc16a480)
* archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/resources/struts.xml
* plugins/tiles/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts.xml
* plugins/javatemplates/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-actionchaining.xml
* apps/showcase/src/main/resources/struts-freemarker.xml
* plugins/portlet/src/test/resources/struts.xml
* apps/showcase/src/main/resources/struts-conversion.xml
* apps/portlet/src/main/resources/struts-tiles.xml
* archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/struts.xml
* plugins/oval/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-hangman.xml
* apps/showcase/src/main/resources/struts-xslt.xml
* apps/showcase/src/main/resources/struts-tags-non-ui.xml
* archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example.xml
* plugins/gxp/src/main/resources/struts-plugin.xml
* plugins/portlet/src/main/resources/struts-plugin.xml
* apps/portlet/src/main/resources/struts-view.xml
* apps/showcase/src/main/resources/struts-person.xml
* plugins/jasperreports/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-validation.xml
* apps/showcase/src/main/resources/struts-token.xml
* plugins/pell-multipart/src/main/resources/struts-plugin.xml
* plugins/spring/src/main/resources/struts-plugin.xml
* plugins/portlet-tiles/src/main/resources/struts-plugin.xml
* plugins/cdi/src/main/resources/struts-plugin.xml
* plugins/convention/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-tags.xml
* plugins/java8-support/src/main/resources/struts-plugin.xml
* plugins/config-browser/src/main/resources/struts-plugin.xml
* plugins/sitemesh/src/main/resources/struts-plugin.xml
* plugins/plexus/src/main/resources/struts-plugin.xml
* apps/portlet/src/main/resources/struts.xml
* plugins/jfreechart/src/main/resources/struts-plugin.xml
* archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-tiles.xml
* plugins/junit/src/test/resources/struts-convention-configuration.xml
* archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
* plugins/bean-validation/src/main/resources/struts-plugin.xml
* apps/portlet/src/main/resources/struts-help.xml
* archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/resources/struts.xml
* apps/showcase/src/main/resources/struts-interactive.xml
* apps/showcase/src/main/resources/struts-filedownload.xml
* apps/showcase/src/main/resources/struts-model-driven.xml
* archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/resources/struts.xml
* apps/portlet/src/main/resources/struts-edit.xml
* plugins/json/src/main/resources/struts-plugin.xml
* plugins/embeddedjsp/src/main/resources/struts-plugin.xml
* apps/portlet/src/main/resources/struts-eventing.xml
* plugins/osgi/src/main/resources/struts-plugin.xml
* apps/showcase/src/main/resources/struts-fileupload.xml
* apps/showcase/src/main/resources/struts-tags-ui.xml
* core/src/test/resources/struts-object-factory-result-builder.xml
* archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/struts.xml
* apps/showcase/src/main/resources/struts-wait.xml


> 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)

Mime
View raw message