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

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.0.0rc1
    • 4.0.4rc1, 4.2.0alpha3, 4.2 (plan)
    • API (A)
    • None
    • Team D
    • Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: