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

PHP runtime error in web scenario update

XMLWordPrintable

    • Sprint candidates
    • 0.125

      Steps to reproduce:

      1. Create a template
      2. Create a web scenario. It must contain a step with Retrieve mode: headers.
      3. Create a host linked to this template.
      4. Update the web scenario on template: change Retrieve mode.

      Result: PHP error

      foreach() argument must be of type array|object, string given [httpconf.php:323 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHttpTest->update() → CHttpTestManager->persist() → CHttpTestManager->inherit() → CHttpTestManager->prepareInheritedHttpTests() → CHttpTestManager->prepareHttpSteps() in include/classes/api/managers/CHttpTestManager.php:1699]

      Expected: No PHP error

            zabbix.dev Zabbix Development Team
            vmurzins Valdis Murzins
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: