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

JSONPath preprocessing step returns invalid result for empty list

    XMLWordPrintable

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 6.0.11
    • None
    • Server (S)
    • None
    • Team A
    • Sprint 96 (Jan 2023), Sprint 97 (Feb 2023)

    Description

      Steps to reproduce:

      1. Create an item
      2. Add a JSONPath preprocessing step
      3. Set parameters to $.items
      4. Test item with the value 
        {
            "items": []
        } 

      Result:

      Result is

      ]

      Expected:
      Result is

      []

      Attachments

        Activity

          People

            dimir dimir
            krandell Kim Randell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: