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

TypeError appears during 'Discovery check' edit

XMLWordPrintable

    • Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023)
    • 0.25

      Steps to reproduce:

      • Open discovery create/update form
      • Add e.g. FTP check or any another except Zabbix Agent
      • Open FTP Discovery check edit popup
      • Change type to Zabbix Agent
      • Add agent key and Click update
      • Verify console and 'Checks' section

      Result: PHP TypeError appears:

      Uncaught TypeError: Cannot read properties of null (reading 'closest')
          at Object._addRadioButtonRows (<anonymous>:225:86)
          at Object._addCheck (<anonymous>:191:9)
          at Object._updateCheck (<anonymous>:64:8)
          at HTMLDivElement.<anonymous> (<anonymous>:99:10)
          at <anonymous>:148:19
      

      Please see video attachment:

      Expected: discovery check should be edited correctly without errors.

        1. Animation16.gif
          Animation16.gif
          1.14 MB
        2. typeError.gif
          typeError.gif
          1.04 MB
        3. wrong_edit_links.gif
          wrong_edit_links.gif
          343 kB

            apoga Anna Poga
            kseve Kirils Seve
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: