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

php function does not check the returned data

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.26
    • Frontend (F)
    • None
    • Support backlog

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/ui/app/controllers/CControllerProblem.php?at=refs%2Fheads%2Frelease%2F6.0#118

      The problem that the code does not even assume that by requesting data for a trigger with a note that for each trigger it is necessary to return data for the host as well, it does not check later that no data for the host was returned for this trigger.

      If for any reason the trigger's connection to the host was lost ( database inconsistency, for example), then when checking the availability report or problems on this trigger, the errors "Trying to access array offset on value of type null" will appear. 

            zabbix.dev Zabbix Development Team
            mbuz Maksym Buz
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: