unquoted hostids parameter does not work on some systems

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • 1.8.3
    • Affects Version/s: None
    • Component/s: API (A)
    • None
    • Environment:
      php 5.3.2

      on some systems unquoted hostids parameter does not work.

      a request that works :

      {"auth":"fc0218e31075368f7c54aa46bb63985f","method":"item.get","id":4,"params":

      {"extendoutput":true,"hostids":"'1201200000010047'","limit":100}

      ,"jsonrpc":"2.0"}

      request that fails :

      {"auth":"fc0218e31075368f7c54aa46bb63985f","method":"item.get","id":5,"params":

      {"extendoutput":true,"hostids":1201200000010047,"limit":100}

      ,"jsonrpc":"2.0"}

            Assignee:
            Unassigned
            Reporter:
            richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: