struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4640) When method is not allowed throw exception with meanigful message
Date Sun, 12 Jun 2016 13:42:21 GMT

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

Mime
View raw message