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

Space as preprocessing param is considered invalid input for XML import

XMLWordPrintable

    • Sprint 14, Sprint 15
    • 1

      Consider the following scenario:

      1. Create a template.
      2. Create an item.
      3. Add a preprocessing step "Trim" with a single space as a param.
      4. Export the template.
      5. Try to import the template, and the result is:
        Incorrect value for field "params": cannot be empty. [conf.import.php:162 ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? CConfiguration->import() ? CConfigurationImport->import() ? CConfigurationImport->processItems() ? CItem->update() ? CItemGeneral->checkInput() ? CItem->checkSpecificFields() ? CItemGeneral->validateItemPreprocessing() ? CApiService::exception() in include/classes/api/services/CItemGeneral.php:953]
        

            gcalenko Gregory Chalenko
            vjaceslavs Vjaceslavs Bogdanovs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: