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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta1
    • None
    • Management
    • 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.

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

              Created:
              Updated:
              Resolved: