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

Flipping page on triggers-list when filtered on group that is nested

    XMLWordPrintable

Details

    • Incident report
    • Resolution: Fixed
    • Blocker
    • 3.2.3rc1, 3.4.0alpha1
    • 3.2.3rc1
    • Frontend (F)
    • CentOS 7 - 3.10.0-327.36.3.el7.x86_64

    Description

      Getting FrontEnd error when i go in to a host, then to hosts trigger-list and try to go to next page. If i choose "All" as group and host "as specified host" it works just fine to back and forth on pages on triggers. If i then change the group from "all" to a specific group and host to "as specified host" the error comes back. The error triggers on both single group and nested.

      Generates the error:

      No permissions to referred object or it does not exist!
      Details
      array_flip(): Can only flip STRING and INTEGER values! [triggers.php:149 ? CFrontendApiWrapper->isWritable() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CHostGroup->isWritable() ? CHostGroup->get() ? dbConditionInt() ? array_flip() in include/db.inc.php:875]
      Error in query [SELECT COUNT(DISTINCT g.groupid) AS rowscount FROM groups g WHERE ] [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1]
      

      Attachments

        1. dont work.PNG
          23 kB
          Robert Roberg
        2. works.PNG
          21 kB
          Robert Roberg

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sitetroniq Robert Roberg
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: