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

Runtime errors of CSettingsHelper

    XMLWordPrintable

Details

    • Team C
    • Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
    • 0.125

    Description

      Session manipulations (like cookie deletion) can cause runtime errors in Frontend:

      Error: Unsupported operand types in ui/include/classes/helpers/CSettingsHelper.php:99
      Stack trace:
      #0 ui/include/classes/helpers/CConfigGeneralHelper.php(47): CSettingsHelper::loadParams()
      #1 ui/app/controllers/CControllerNotificationsGet.php(32): CConfigGeneralHelper::get()
      #2 ui/include/classes/mvc/CController.php(64): CControllerNotificationsGet->init()
      #3 ui/include/classes/core/ZBase.php(515): CController->__construct()
      #4 ui/include/classes/core/ZBase.php(211): ZBase->processRequest()
      #5 ui/include/config.inc.php(25): ZBase->run()
      #6 ui/zabbix.php(22): require_once('...')
      #7 {main}
      

      Code should be made failproof. There should be validation of input data and no runtime errors.

      Attachments

        Issue Links

          Activity

            People

              rlataria Roberts Lataria
              vjaceslavs Vjaceslavs Bogdanovs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: