ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • 7.0.33rc1, 8.0.1rc1, 8.2.0alpha1
    • Affects Version/s: 4.0.17, 4.4.5, 5.0.0alpha2
    • Component/s: API (A)
    • None
    • Sprint candidates

      Take host API for example and method get().
      Create a request:

      {
          "output": [
              "name"
          ],
          "hostids": [
              "10511", "10512"
          ],
          "sortfield": "name",
          "countOutput": true
      }
      

      No result is given, but in logs we can see the error:

      Query failed: ERROR: column "h.name" must appear in the GROUP BY clause or be used in an aggregate function

      This is bad.

            Assignee:
            Vladimirs Maksimovs
            Reporter:
            Ivo Kurzemnieks
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: