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-4640) When method is not allowed throw exception with meanigful message
Date Sun, 12 Jun 2016 14:02:21 GMT

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

Hudson commented on WW-4640:
----------------------------

SUCCESS: Integrated in Struts-JDK7-master #479 (See [https://builds.apache.org/job/Struts-JDK7-master/479/])
WW-4640 Adds more informative message when method is not allowed (lukaszlenart: rev 1afb48aa765a96a9d183bb4ac249bfcc8f7daf3a)
* core/src/test/java/com/opensymphony/xwork2/DefaultActionProxyTest.java
* core/src/main/resources/com/opensymphony/xwork2/xwork-messages.properties
* core/src/main/java/com/opensymphony/xwork2/DefaultActionProxy.java


> When method is not allowed throw exception with meanigful message
> -----------------------------------------------------------------
>
>                 Key: WW-4640
>                 URL: https://issues.apache.org/jira/browse/WW-4640
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.5
>            Reporter: Lukasz Lenart
>             Fix For: 2.5.1
>
>
> Instead of throwing {{No such method}} it would be better to throw {{Method not allowed}}
> http://stackoverflow.com/questions/37218790/wildcard-action-mapping-no-longer-working-after-updating-to-struts-2-5?noredirect=1#comment62166119_37218790



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message