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

Webhook media type testing has problems with unicode

XMLWordPrintable

    • Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020)
    • 1

      Steps to reproduce:

      1. Import attached media type (webhook example).
      2. Test imported media type (Zabbix server should be running)
      3. Observe that error is present.

      Result:

      At this point zabbix_server.log file will become corrupted as well as it will contain broken UTF-8 sequence:

      JSON retrieved from Zabbix Frontend:

      {
          "string": "\ud83d\ude22"
      }

      At some point it becomes broken.

      Expected:
      Media type testing should work just like the action operations.

      The same media type will work like a charm (without errors) if used in action operations. So problem is only related to media type testing.

        1. broken_utf.png
          9 kB
          Vjaceslavs Bogdanovs
        2. media_type_error.png
          18 kB
          Vjaceslavs Bogdanovs
        3. zbx_export_mediatypes.xml
          0.6 kB
          Vjaceslavs Bogdanovs

            wiper Andris Zeila
            vjaceslavs Vjaceslavs Bogdanovs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: