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

Browser error observed when opening configuration of Service that has double quotes in problem tag name or value

XMLWordPrintable

    • Team A
    • Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022)
    • 0.5

      Problem description: if problem tag name or problem tag value of a service contains double quotes the following console error is observed when opening configuration of this service and the corresponding problem tag is missing in its config:

      Uncaught Error: Syntax error, unrecognized expression: [type="radio"][name$="[0][tag]"][value=""A""]
      

      Steps to reproduce:

      1. Create a service with the following problem tag:
        Problem tag name = Name
        Problem tag value = "Value" (with double quotes)
      2. Save service configuration
      3. Open the service in edit mode

      Result: The above console error is observed. Problem tags table is empty
      Expected: Problem tags table fields should be able to handle values in double quotes.

            rdetlavs Reinis Detlavs (Inactive)
            solonkins Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: