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

Undefined indexes and SQL errors in screen clock element for guest users

    Details

      Description

      To reproduce:

      1. Create screen with clock element.
      2. Choose host time and select an item from host that guest user will not have permissions to.
      3. Open Monitoring > Screens as guest user and choose the screen with clock. Errors appear.
      reset() expects parameter 1 to be array, null given [screens.php:176 ? CView->render() ? include() ? CScreenBuilder->show() ? CScreenClock->get() ? reset() in C:\Development\zabbix\frontends\php\include\classes\screens\CScreenClock.php:42]
      Undefined index: value_type [screens.php:176 ? CView->render() ? include() ? CScreenBuilder->show() ? CScreenClock->get() ? CHistoryManager->getLast() in C:\Development\zabbix\frontends\php\include\classes\api\managers\CHistoryManager.php:41]
      Undefined index:  [screens.php:176 ? CView->render() ? include() ? CScreenBuilder->show() ? CScreenClock->get() ? CHistoryManager->getLast() ? CHistoryManager::getTableName() in C:\Development\zabbix\frontends\php\include\classes\api\managers\CHistoryManager.php:72]
      Undefined index: itemid [screens.php:176 ? CView->render() ? include() ? CScreenBuilder->show() ? CScreenClock->get() ? CHistoryManager->getLast() in C:\Development\zabbix\frontends\php\include\classes\api\managers\CHistoryManager.php:42]
      Error in query [SELECT * FROM  h WHERE h.itemid='' ORDER BY h.clock DESC LIMIT 1 OFFSET 0] [Table 'ivo_zabbix.h' doesn't exist]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iivs Ivo Kurzemnieks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: