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

Undefined index in user edit form when selected media type is deleted

    XMLWordPrintable

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 6.0.10rc1
    • None
    • Frontend (F)
    • None
    • Team B

    Description

      Steps to reproduce:

      1. Navigate to user creation form;
      2. Fill in mandatory fields and select one media type from provided;
      3. Now, before submitting form, delete selected media type in parallel window;
      4. Submit user form.

      Result:

      Undefined offset: 17 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserEdit->doAction() → CControllerUserEditGeneral->setUserMedias() → CConfigFile->{closure}() in conf/zabbix.conf.php:137]
      
      Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserEdit->doAction() → CControllerUserEditGeneral->setUserMedias() → CConfigFile->{closure}() in conf/zabbix.conf.php:137]
      
      Undefined offset: 17 [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserEdit->doAction() → CControllerUserEditGeneral->setUserMedias() → CConfigFile->{closure}() in conf/zabbix.conf.php:137]
      
      Trying to access array offset on value of type null [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerUserEdit->doAction() → CControllerUserEditGeneral->setUserMedias() → CConfigFile->{closure}() in conf/zabbix.conf.php:137]
      
      implode(): Invalid arguments passed [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → implode() → CConfigFile->{closure}() in conf/zabbix.conf.php:137]

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            Miks.Kronkalns Miks Kronkalns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: