Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.4.0alpha1
-
Fix Version/s: 3.4.2rc1, 4.0.0alpha1, 4.0 (plan)
-
Component/s: Frontend (F)
-
Labels:
-
Team:Team A
-
Sprint:Sprint 14, Sprint 15
-
Story Points:1
Description
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]