[jboss-jira] [JBoss JIRA] (WFCORE-3338) Management returning success for read-attribute on non-existant path
Brad Maxwell (JIRA)
issues at jboss.org
Thu Oct 5 18:58:00 EDT 2017
Brad Maxwell created WFCORE-3338:
------------------------------------
Summary: Management returning success for read-attribute on non-existant 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: Brian Stansberry
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.2.3#72005)
More information about the jboss-jira
mailing list