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

Create graphics failed

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5rc1, 2.1.0
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      Create graphic in Template or Host

      Description

      configuration.graph.edit.js.php
      ...
      function getOnlyHostParam() {
      var param = '';

      jQuery(document).ready(function() {
      if (<?php echo $this->data['is_template'] ? 'true' : 'false'; ?>)

      { >> param = '&only_hostid=' + '<?php echo $this->data['hostid']; ?>'; }

      else

      { param = '&real_hosts=1'; }

      });

      return param;
      }
      ...
      String <?php echo $this->data['hostid']; ?> not quoted in original file and list of item is empty.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            parmax Maxim Parkhomenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: