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

Incorrect preprocessing behavior in Script item

XMLWordPrintable

    • Sprint 90 (Jul 2022)
    • 0.5

      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.

            kprutkovs Konstantins Prutkovs
            smaklakovs Sergejs Maklakovs
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: