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

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
    • Story Points:
      0.125

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: