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

Errors when updating a broken module

    XMLWordPrintable

Details

    • Team A
    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 0.125

    Description

      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

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            natalja.zabbix Natalja Romancaka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: