-
Problem report
-
Resolution: Fixed
-
Major
-
3.4.0alpha1
-
Sprint 14, Sprint 15
-
1
Consider the following scenario:
- Create a template.
- Create an item.
- Add a preprocessing step "Trim" with a single space as a param.
- Export the template.
- 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]