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

Errors when updating a broken module

XMLWordPrintable

    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint candidates, S2401-1, S2401-2, S24-W6/7, S24-W8/9, S24-W10/11
    • 7

      1. Undefined array key when update broken module

      Steps to reproduce:

      1. Create module
      2. Open the page of the created module
      3. Edit the menifest.json file and add invalid data, for example empty name
      4. On the open module page, press Update button

      Result:
      Message "Module updated" and error in details

      Undefined array key 0 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerModuleUpdate->doAction() in app/controllers/CControllerModuleUpdate.php:136]

      2. Two messages and different text size
      Steps to reproduce:

      1. Create module
      2. Enable the module (this is important, when the module is disabled, there is only one message)
      3. Open the page of the created module
      4. Edit the menifest.json file and add invalid data, for example empty name
      5. Refresh opened module page

      Result: two identical messages and one with smaller text

            dfofanovs Dmitrijs Fofanovs
            natalja.zabbix Natalja Romancaka
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: