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

Errors in Problems widget when "Acknowledged by me" parameter is set

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.0alpha3
    • Frontend (F)

      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:

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: