[ZBX-23305] Errors in Problems widget when "Acknowledged by me" parameter is set Created: 2023 Aug 23  Updated: 2023 Aug 25  Resolved: 2023 Aug 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.0.0alpha3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: problems, widget
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File problems_widget_has_problems.gif    
Issue Links:
Duplicate
duplicates ZBX-23240 Filtering by "action" and "action_use... Closed
duplicates ZBX-23304 Error message appears when applying "... Closed

 Description   

Problem description: the following errors are observed in Problems widget when parameter "Acknowledgement status" is set to "Acknowledged" and checkbox "By me" is set to true:

Array to string conversion [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → Widgets\Problems\Actions\WidgetView->doAction() → CScreenProblem::getData() → CScreenProblem::getDataEvents() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CEvent->get() → CEvent->getEvents() → CApiService->createSelectQuery() → CApiService->createSelectQueryParts() → CEvent->applyQueryFilterOptions() → CEvent->applyFilters() → CConfigFile->{closure}() in conf/zabbix.conf.php:87]
Array to string conversion [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → Widgets\Problems\Actions\WidgetView->doAction() → CScreenProblem::getData() → CScreenProblem::getDataEvents() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CEvent->get() → CEvent->getEvents() → CApiService->createSelectQuery() → CApiService->createSelectQueryParts() → CEvent->applyQueryFilterOptions() → CEvent->applyFilters() → zbx_ctype_digit() → CConfigFile->{closure}() in conf/zabbix.conf.php:87]

 

Steps to reproduce:

  1. Open any dashboard
  2. Add widget "Problems" widget with the following parameters:
    1. Acknowledgement status = Acknowledged
    2. By me = true
  3. Save widget configuration and check the created widget

Result:
the above errors are observed
Expected:
no errors should be observed in the created Problems widget

Example:


Generated at Thu Apr 03 04:04:56 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.