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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 3.2.3rc1, 3.4.0alpha1
    • Affects Version/s: 3.2.3rc1
    • Component/s: Frontend (F)
    • Environment:
      CentOS 7 - 3.10.0-327.36.3.el7.x86_64

      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]
      

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

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

              Created:
              Updated:
              Resolved: