Incorrect link to dependent trigger in the trigger list when no host is selected

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.5, 8.0.0alpha2 (master)
    • Component/s: Frontend (F)

      When no host is specified in the trigger list filter, the hostid is missing from the link of the trigger displayed in the “Depends on” list. As a result, the super admin user receives an access denied error when clicking on that trigger.

      Steps to reproduce:

      1. Login under super-admin,
      2. Navigate to the trigger list,
      3. Clean page filter (remove hosts from it),
      4. Select one trigger from "Depends on" list and click on it.

      Result:  Access denied error message.

      Link content: 

      href="zabbix.php?action=popup&popup=trigger.edit&triggerid=22387&hostid=0&context=host" 

      Expected: When host is selected, admin is able to open the same dependent trigger form.

      Link content: 

      href="zabbix.php?action=popup&popup=trigger.edit&triggerid=22387&hostid=10084&context=host" 

            Assignee:
            Zabbix Development Team
            Reporter:
            Deniss Ponomarenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 0.5h
                0.5h