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

'Array to string conversion' error appears if eventsource is passed as array

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 5.0.30, 6.2.6, 6.4.0beta3, 6.4.0beta4
    • Frontend (F)

      MOVED from ZBXNEXT-7835 subissue #72 (case2)

      Steps to reproduce:

      • Open URL:/actionconf.php?eventsource[]=0
      • Check errors

      Result:

      Array to string conversion [actionconf.php:22 → require_once() → ZBase->run() → CMenu->setSelectedByAction() → CMenuItem->setSelectedByAction() → CMenu->setSelectedByAction() → CMenuItem->setSelectedByAction() → CMenu->setSelectedByAction() → CMenuItem->setSelectedByAction() → array_diff_assoc() in include/classes/html/CMenuItem.php:213]
      

      e.g. from master branch

      Expected: error handling should be applied.

            zabbix.dev Zabbix Development Team
            kseve Kirils Seve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: