• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha3
    • None
    • Management
    • None

      The overall result for query operations in domain mode does not filter undefined results. Executing the following operation, will yield three results. However the last result needs to be filtered:

      [domain@localhost:9990 /] /host=master/server-config=*:query(select=[name, status, auto-start], where={auto-start=>true})
      {
          "outcome" => "success",
          "result" => [
              {
                  "address" => [
                      ("host" => "master"),
                      ("server-config" => "server-one")
                  ],
                  "outcome" => undefined,
                  "result" => {
                      "name" => "server-one",
                      "status" => "STARTED",
                      "auto-start" => true
                  }
              },
              {
                  "address" => [
                      ("host" => "master"),
                      ("server-config" => "server-two")
                  ],
                  "outcome" => undefined,
                  "result" => {
                      "name" => "server-two",
                      "status" => "STARTED",
                      "auto-start" => true
                  }
              },
              {
                  "address" => [
                      ("host" => "master"),
                      ("server-config" => "server-three")
                  ],
                  "outcome" => undefined,
                  "result" => undefined
              }
          ],
          "server-groups" => undefined
      }
      

              ehugonne1@redhat.com Emmanuel Hugonnet
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: