Updating host configuration fails on instance with large ID numbers

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.7
    • Component/s: Frontend (F)
    • None
    • Environment:
      Zabbix instance with long history, used to have 2 active zabbix servers in the past, resulting in large IDs.

      Steps to reproduce:
      1. Open a host on the host configuration page
      2. Click on 'Update' button

      Result:
      Dialog remains, host is not updated.

      Network inspector shows a request to zabbix.php?action=validate.api.exists that fails with:

      {"error":{"messages":{"\/validations\/0\/exclude_id":[{"message":"This value is not a valid integer.","level":0}],"\/validations\/1\/exclude_id":[{"message":"This value is not a valid integer.","level":0}],"\/validations\/2\/exclude_id":[{"message":"This value is not a valid integer.","level":0}]}}}
      

      The request contains:

      "exclude_id": "200200000019591"
      

      See attached patch for a proposed fix.

            Assignee:
            Zabbix Support Team
            Reporter:
            Kevin Daudt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: