-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When executing a read-resource operation for a model node that does not exist, I get different results in WildFly master and EAP 6.x:
WildFly master
"JBAS014807: Management resource '[ (\"core-service\" => \"management\"), (\"access\" => \"authorization\"), (\"role-mapping\" => \"Administrator\") ]' not found"
EAP 6.1
{ "outcome" => "failed", "failure-description" => "JBAS014807: Management-Ressource '[ (\"core-service\" => \"management\"), (\"access\" => \"authorization\"), (\"role-mapping\" => \"Administrator\") ]' nicht gefunden", "rolled-back" => true }
In EAP 6.x I get the correct error result which includes "outcome" => "failed" whereas in WildFly I just receive the error message wihtout the surrounding model node.
The error occurs when using the HTTP protocol. Using the CLI / native interface both versions return the correct (complete) error response.