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

Fatal error opening trigger and graph prototype list pages if user is not logged in

XMLWordPrintable

    • S25-W24/25
    • 0.25

      Steps to reproduce:

      1. Log out of UI.
      2. Try to access a trigger prototype or graph prototype list pages directly.
        For example:
        http://localhost/zabbix-src/master/ui/zabbix.php?action=trigger.prototype.list&parent_discoveryid=46361&context=host
        

      Result:
      White page with errors in log:

      TypeError: Cannot assign bool to property CControllerTriggerPrototypeList::$parent_discovery of type array in C:\Development\zabbix-src\master\ui\app\controllers\CControllerTriggerPrototypeList.php:53
      
      TypeError: Cannot assign bool to property CControllerGraphPrototypeList::$parent_discovery of type array in C:\Development\zabbix-src\master\ui\app\controllers\CControllerGraphPrototypeList.php:51
      

      Expected:
      Warning page

            wczerneha Wiktor Czerneha
            iivs Ivo Kurzemnieks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Time Spent - 0.5h Remaining Estimate - 1.5h
                1.5h
                Logged:
                Time Spent - 0.5h Remaining Estimate - 1.5h
                0.5h