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

Details

    • Team B
    • Sprint 82 (Nov 2021)
    • 0.5

    Description

      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.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: