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

JS error when open URL with invalid URL parameter

XMLWordPrintable

    • Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
    • 0.125

      Steps to reproduce:

      1. Enter URL with invalid URL parameter, for example a string instead of integer for host/group/item id
        /templates.php?form=update&templateid=abc
        /hostgroups.php?form=update&groupid=abc
      2. Open browser console

      Result:

      jsLoader.php?ver=5.0.3rc1&lang=en_GB&showGuiMessaging=1:28732
      
      Uncaught TypeError: Cannot read property 'appendChild' of null
       at HTMLDocument.<anonymous> (jsLoader.php?ver=5.0.3rc1&lang=en_GB&showGuiMessaging=1:28732)
       at mightThrow (jsLoader.php?ver=5.0.3rc1&lang=en_GB&showGuiMessaging=1:3535)
       at process (jsLoader.php?ver=5.0.3rc1&lang=en_GB&showGuiMessaging=1:3603)
      

      Expected:
      no js error

            talbergs Mārtiņš Tālbergs (Inactive)
            natalja.zabbix Natalja Romancaka
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: