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

No link to template editing next to templated host items

XMLWordPrintable

    • Sprint 22
    • 0.125

      Steps to reproduce:

      1. Log in as superadmin
      2. Go to Configuration->Hosts
      3. Import attached test.xml
      4. Go to Configuration->Hosts and click Items next to test host
      5. Try to click Template Virt VMware next to item Event log

      Result:
      Disappointment
      Expected:
      Link takes you to Template Virt VMware editing form

      According to debug, template.get is called with templateid‍s of items instead of hostid‍s of templates and returns nothing:

      5. template.get [items.php:1415]
      
      Parameters:
      Array
      (
          [output] => Array
              (
                  [0] => templateid
              )
      
          [templateids] => Array
              (
                  [0] => 23593
                  [1] => 23658
                  [2] => 23659
              )
      
          [editable] => 1
          [preservekeys] => 1
      )
      Result:
      Array
      (
      )
      

        1. diff.png
          19 kB
          Vjaceslavs Bogdanovs
        2. test.xml
          2 kB
          Glebs Ivanovskis

            gcalenko Gregory Chalenko
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: