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

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.12, 3.2.10
    • Fix Version/s: 3.0.14rc1, 4.0 (plan)
    • Component/s: Frontend (F)
    • Labels:
    • Team:
      Team C
    • Sprint:
      Sprint 22
    • Story Points:
      0.125

      Description

      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
      (
      )
      

        Attachments

        1. diff.png
          diff.png
          19 kB
        2. test.xml
          2 kB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: