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

Frontend does not support \0 escape sequence in regsub()/iregsub() macro function output

    XMLWordPrintable

Details

    • Team B
    • Sprint 24, Sprint 25
    • 0.5

    Description

      Steps to reproduce:

      1. Create an item
      2. Create a trigger
      3. Use ‍{{ITEM.VALUE}.regsub(.*, \0)}‍ in both trigger name and tags
      4. Make sure that item received a value
      5. Go to Monitoring->Problems or Monitoring->Triggers

      Result:
      Sequence got replaced with item value (since pattern .* matches everything) in tags by server and with \0 by frontend
      Expected:
      In both cases \0 should be replaced with a matched text.

      Attachments

        Issue Links

          Activity

            People

              gcalenko Gregory Chalenko
              glebs.ivanovskis Glebs Ivanovskis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: