[jboss-jira] [JBoss JIRA] Updated: (JBAS-9182) Unify failure description key

Heiko Rupp (JIRA) jira-events at lists.jboss.org
Wed Mar 30 06:00:37 EDT 2011


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

Heiko Rupp updated JBAS-9182:
-----------------------------

    Description: 
The "standard" failure description is (e.g.):
{
    "outcome" : "failed",
    "failure-description" : [{
        "PROPERTY_VALUE" : {
            "java.lang.IllegalArgumentException" : "Invalid key specification"
        }
    }]
}

note "failure-description"

Sometimes it is different:

[localhost:9999 /] /server-group=new:add(profile=default)
{
    "outcome" => "failed",
    "result" => {"domain-failure-description" => [("java.lang.IllegalStateException" => "Resource at address [(\"server-group\" => \"new\")] already exists")]}
}

note "domain-failure-description".

Please unify that.


  was:
The "standard" failure description in standalone mode
{
    "outcome" : "failed",
    "failure-description" : [{
        "PROPERTY_VALUE" : {
            "java.lang.IllegalArgumentException" : "Invalid key specification"
        }
    }]
}

note "failure-description"

Sometimes it is different:

[localhost:9999 /] /server-group=new:add(profile=default)
{
    "outcome" => "failed",
    "result" => {"domain-failure-description" => [("java.lang.IllegalStateException" => "Resource at address [(\"server-group\" => \"new\")] already exists")]}
}

note "domain-failure-description".

Please unify that.




> Unify failure description key
> -----------------------------
>
>                 Key: JBAS-9182
>                 URL: https://issues.jboss.org/browse/JBAS-9182
>             Project: JBoss Application Server
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Heiko Rupp
>
> The "standard" failure description is (e.g.):
> {
>     "outcome" : "failed",
>     "failure-description" : [{
>         "PROPERTY_VALUE" : {
>             "java.lang.IllegalArgumentException" : "Invalid key specification"
>         }
>     }]
> }
> note "failure-description"
> Sometimes it is different:
> [localhost:9999 /] /server-group=new:add(profile=default)
> {
>     "outcome" => "failed",
>     "result" => {"domain-failure-description" => [("java.lang.IllegalStateException" => "Resource at address [(\"server-group\" => \"new\")] already exists")]}
> }
> note "domain-failure-description".
> Please unify that.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list