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

Order of webhook parameters is reversed after exporting and importing a webhook media type

XMLWordPrintable

    • Sprint 60 (Jan 2020), Sprint 61 (Feb 2020)
    • 0.125

      Problem description: After exporting and after that importing a webhook media type the order of webhook parameters in "Parameters" field is reversed.

      Steps to reproduce:

      1. Navigate to Administration => Media types
      2. Create a webhook media type with multiple parameters
      3. Export the previously exported media type and change its name in frontend
      4. Import the exported media type
      5. Open the imported media type and compare the order of parameters with the original.
        Result 1:  The order of parameters in field "Parameters" was reversed.
      6. Export the imported version of the media type, and again change its name in frontend.
      7. Import the latest exported version of the media type
      8. Open the latest imported media type and compare the order of parameters with the original.
        Result 2: the order of parameters in field "Parameters" was reversed again and now it is the same as in the original version of the media type.

      Expected: after importing a previously exported webhook media type, the order of parameters in field "Parameters" should not change.

      Example:

            iivs Ivo Kurzemnieks
            solonkins Sergejs Olonkins
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: