You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/12 13:42:21 UTC

[jira] [Commented] (WW-4640) When method is not allowed throw exception with meanigful message

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

ASF subversion and git services commented on WW-4640:
-----------------------------------------------------

Commit 1afb48aa765a96a9d183bb4ac249bfcc8f7daf3a in struts's branch refs/heads/master from [~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=1afb48a ]

WW-4640 Adds more informative message when method is not allowed


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