Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2094

Different results for read-resource operation in WildFly master and EAP 6.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Beta1
    • None
    • Management
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bstansbe@redhat.com Brian Stansberry
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: