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

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

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.5, 8.0.0alpha2 (master)
    • 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" 

            zabbix.dev Zabbix Development Team
            dponomarenko Deniss Ponomarenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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