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

Cannot add graphs to template screen

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.5rc1, 2.1.0
    • 2.0.4
    • Frontend (F)
    • PHP 5.4.10, database is PostgreSQL 9.2.2

      I cannot add graphs to a template screen. The popup says "No graphs defined."

      The immediate cause of this behavior is in popup.php line 1358 ff., where the host selection from whatever a pageFilter is, overrides the one from the request parameters. Most likely, the override hostid from "pageFilter" is the previously selected "real" host.

      This specific symptom can be fixed by skipping both the branches of the if statement on the next line if isset($only_hostid), but I cannot say whether this will break elsewhere.

            Unassigned Unassigned
            chrullrich Christian Ullrich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: