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

When creating a new page in a dashboard and saving Generate ERROR

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Workaround proposed
    • Icon: Trivial Trivial
    • None
    • 6.4.0
    • Frontend (F)
    • Debian Linux 11, MariaDB 10.6

      Steps to reproduce:

      1. Edit Dashboard
      2. Add Page
      3. Insert Name
      4. Apply
      5.  Save Changes

      Result:

      • Error in query [INSERT INTO dashboard_page (dashboard_pageid,dashboardid,name,display_period,sortorder) VALUES ('1872','168','A','0','1')] [Duplicate entry '1872' for key 'PRIMARY'] [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CDashboard->update() → CDashboardGeneral->updatePages() → DB::insert() → DB::insertBatch() → DBexecute() → trigger_error() in include/db.inc.php:367]
      • SQL statement execution has failed "INSERT INTO dashboard_page (dashboard_pageid,dashboardid,name,display_period,sortorder) VALUES ('1872','168','A','0','1')".

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            eduwutzl Eduardo Wutzl da Silva
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: