[jboss-jira] [JBoss JIRA] (WFCORE-3338) Management returning success for read-attribute on non-existent domain server path

Chao Wang (JIRA) issues at jboss.org
Thu Oct 12 04:13:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476154#comment-13476154 ] 

Chao Wang commented on WFCORE-3338:
-----------------------------------

I talked with Emmanuel on IRC. I will look into this one. 

> Management returning success for read-attribute on non-existent domain server path
> ----------------------------------------------------------------------------------
>
>                 Key: WFCORE-3338
>                 URL: https://issues.jboss.org/browse/WFCORE-3338
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.4.Final
>            Reporter: Brad Maxwell
>            Assignee: ehsavoie Hugonnet
>
> In Wildfly, a command such as this with a non-existent path returns success instead of failed:
> {code}
>  /host=master/server=nonExistant:read-attribute(name=runtime-configuration-state)
> {
>     "outcome" => "success",
>     "result" => "stopped"
> }
> {code}
> Where as in EAP 6.4:
> {code}
> [domain at localhost:9999 /] /host=master/server=server-NOT-EXIST:read-attribute(name=server-state)
> Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
>     ("host" => "master"),
>     ("server" => "server-NOT-EXIST")
> ]"
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list