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

Incorrect preprocessing behavior in Script item

    XMLWordPrintable

Details

    • Team A
    • Sprint 88 (May 2022)
    • 0.5

    Description

      Steps to reproduce:

      1. Create item.
      2. Item type - script.
      3. Item type of information - text.
      4. In script field add - 
        return '🥕';
      1. Navigate to Preprocessing tab.
      2. Add new step - JavaScript.
      3. In parameters add - return value + value;
      4. Press test button.
      5. Check in - Get value from host.
      6. Press - Get value and test button.

      Result:

      Error message - could not convert return value to utf8

      Expected:
      No errors.

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            smaklakovs Sergejs Maklakovs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: