Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23972

API allows to create invalid dashboard

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 7.0 (plan)
    • 6.4.9
    • Documentation (D)
    • None
    • S24-W8/9, Prev.Sprint
    • 1

      Such an API request succeeds in creating an invalid dashboard - the graph widgets do not have graph detail specified.

      {"method":"dashboard.create","auth":"9c856c6387e5fa80907f4484dc600b37","id":14,"jsonrpc":"2.0","params":{"private":0,"auto_start":1,"display_period":30,"name":"tmptest2","pages":[{"widgets":[{"x":0,"type":"graph","width":12,"y":0,"height":5},{"height":5,"y":0,"width":12,"type":"graph","x":12}],"display_period":0}]}}

      The created screen has empty elements that cannot be saved in the frontend.

            adancis Arturs Dancis
            bmickiewicz Bartosz Mickiewicz
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: