[jboss-jira] [JBoss JIRA] (AS7-4977) Api returns internal server error instead of not found for non-exiting path
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 16:52:04 EDT 2012
[ https://issues.jboss.org/browse/AS7-4977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700599#comment-12700599 ]
Brian Stansberry commented on AS7-4977:
---------------------------------------
This will require some hackery, as the HTTP handling layer has no clue what the error was.
> Api returns internal server error instead of not found for non-exiting path
> ---------------------------------------------------------------------------
>
> Key: AS7-4977
> URL: https://issues.jboss.org/browse/AS7-4977
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Heiko Rupp
> Assignee: Brian Stansberry
> Labels: rhq
>
> When I try to e.g. /subsystem=foo:read-resource the api returns a 500 internal server error.
> In http-land, the return code for "not found" is normally 404.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list