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

Filter by Value doesn't work in Latest data for log and text types

XMLWordPrintable

    • Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023)
    • 1

      Steps to reproduce:

      1. Create trapper item with type of information "Log" or "Text"
      2. Send data
      3. Go to Monitoring -> Latest data
      4. Click on History next to the created item
      5. Select "Filter" tab
      6. Enter something in "Value" field and apply filter

      Result:

      blank page and php runtime error:

      TypeError: mb_strtolower(): Argument #1 ($string) must be of type string, array given in /home/natalja/workspace/master/ui/include/classes/screens/CScreenHistory.php:321
      Stack trace:
      #0 /home/natalja/workspace/master/ui/include/classes/screens/CScreenHistory.php(321): mb_strtolower()
      #1 /home/natalja/workspace/master/ui/include/views/monitoring.history.php(275): CScreenHistory->get()
      #2 /home/natalja/workspace/master/ui/include/classes/mvc/CView.php(133): include('...')
      #3 /home/natalja/workspace/master/ui/history.php(143): CView->getOutput()
      #4 {main}
      Cannot modify header information - headers already sent [: -> CCookieSession->write() -> CCookieHelper::set() -> setcookie() -> CConfigFile->{closure}() in include/classes/helpers/CCookieHelper.php:59]
      PHP Request Shutdown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: update_timestamp) [: -> CConfigFile->{closure}()]
      

      Expected:
      display filtered data

        1. latestdata.gif
          144 kB
          Natalja Romancaka

            agriscenko Andrejs Griščenko
            natalja.zabbix Natalja Romancaka
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: