]
Brian Stansberry updated WFCORE-3338:
-------------------------------------
Summary: Management returning success for read-attribute on non-existent domain server
path (was: Management returning success for read-attribute on non-existent path)
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@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}