-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.0rc1
-
None
-
Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
-
0.5
Steps to reproduce:
- Navigate to Configuration -> Templates.
- Open template "Template VM VMware" and press "Full clone" button.
- Change template name and press "Add" button.
Result:
Cannot add template
Invalid parameter "/1/inventory": the parameter "inventory_mode" is missing. [templates.php:330 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CDiscoveryRule->copy() → CDiscoveryRule->copyDiscoveryRule() → CDiscoveryRule->copyHostPrototypes() → CHostPrototype->create() → CHostPrototype->validateCreate() → CApiService::exception() in include/classes/api/services/CHostPrototype.php:158]
Expected:
Template is added.