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

array_flip() error when adding new host group if mass update fails

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.4.6
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:

      Description

      Steps to reproduce:

      1. Navigate to Configuration -> Hosts/Templates.
      2. Choose at least one host/template from the list and click Mass update.
      3. Check the Host group checkbox and specify a new group.
      4. Choose an option that will surely fail mass update, for example, specifiy a tag value without tag name.
      5. Click Update.

      Result:

      array_flip(): Can only flip STRING and INTEGER values! [hosts.php:1475 → CView->render() → include() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->get() → dbConditionInt() → array_flip() in include/db.inc.php:797]
      Error in query [SELECT g.groupid,g.name FROM hstgrp g WHERE ] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zabbix.dev Zabbix Development Team
              Reporter:
              agriscenko Andrejs Griščenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: