-
Problem report
-
Resolution: Fixed
-
Trivial
-
7.0.0alpha7
-
Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023)
-
1
Steps to reproduce:
- Create trapper item with type of information "Log" or "Text"
- Send data
- Go to Monitoring -> Latest data
- Click on History next to the created item
- Select "Filter" tab
- 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