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

Error when import older template or host with javascript preprocessing - Non-static method C50ImportConverter

XMLWordPrintable

    • Sprint 70 (Nov 2020)
    • 0.125

      Steps to reproduce:

      1. Create host or template in 5.0 version
      2. Add item with JavaScript preprocessing step
      3. Export host
      4. Open zabbix version 5.2 or master
      5. Import host
      6. Check details message

      Result: error

      Non-static method C50ImportConverter::convertPreprocessingSteps() should not be called statically [conf.import.php:91 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → C50ImportConverter->convert() → C50ImportConverter::convertHosts() → C50ImportConverter::convertItems() → CConfigFile->{closure}() in conf/zabbix.conf.php:86]
      

      Expected:
      no error

            rlataria Roberts Lataria (Inactive)
            natalja.zabbix Natalja Romancaka
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: