[jboss-jira] [JBoss JIRA] (WFCORE-1562) Wildcard ops seem to drop the underlying error on failure

Ken Wills (JIRA) issues at jboss.org
Thu May 19 16:20:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Wills updated WFCORE-1562:
------------------------------
    Description: 
[domain at localhost:9990 /] :read-resource(attributes-only=true, recursive=true)
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0275: Cannot define both 'attributes-only' and 'recursive'",
    "rolled-back" => true
}

But using a wildcard:

[domain at localhost:9990 /] /host=*:read-resource(attributes-only=true, recursive=true)
{
    "outcome" => "failed",
    "result" => [],
    "rolled-back" => true
}

The error is present up until the final response, then it's dropped somewhere.

  was:
[domain at localhost:9990 /] :read-resource(attributes-only=true, recursive=true)
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0275: Cannot define both 'attributes-only' and 'recursive'",
    "rolled-back" => true
}

But using a wildcard:

[domain at localhost:9990 /] /host=*:read-resource(attributes-only=true, recursive=false)
{
    "outcome" => "failed",
    "result" => [],
    "rolled-back" => true
}

The error is present up until the final response, then it's dropped somewhere.



> Wildcard ops seem to drop the underlying error on failure
> ---------------------------------------------------------
>
>                 Key: WFCORE-1562
>                 URL: https://issues.jboss.org/browse/WFCORE-1562
>             Project: WildFly Core
>          Issue Type: Bug
>            Reporter: Ken Wills
>            Assignee: Ken Wills
>
> [domain at localhost:9990 /] :read-resource(attributes-only=true, recursive=true)
> {
>     "outcome" => "failed",
>     "failure-description" => "WFLYCTL0275: Cannot define both 'attributes-only' and 'recursive'",
>     "rolled-back" => true
> }
> But using a wildcard:
> [domain at localhost:9990 /] /host=*:read-resource(attributes-only=true, recursive=true)
> {
>     "outcome" => "failed",
>     "result" => [],
>     "rolled-back" => true
> }
> The error is present up until the final response, then it's dropped somewhere.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list