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

Cannot full clone template due error "inventory_mode" is missing

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.0.0rc1
    • Fix Version/s: 4.0.4rc1, 4.2.0alpha3, 4.2 (plan)
    • Component/s: API (A)
    • Labels:
      None
    • Team:
      Team D
    • Sprint:
      Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      1. Navigate to Configuration -> Templates.
      2. Open template "Template VM VMware" and press "Full clone" button.
      3. 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              agriscenko Andrejs Griščenko
              Reporter:
              agriscenko Andrejs Griščenko
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: