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

After removing last script item parameter it gives 'invalid timeout' error

    XMLWordPrintable

Details

    • Team B
    • Sprint 94 (Nov 2022)
    • 0.125

    Description

      Steps to reproduce:

      1. Create script item with parameter (simple 'return 1' would be enough)
      2. Reload configuration cache
      3. Observe that item is processed normally
      4. Remove all parameters of created script item
      5. Reload configuration cache
      6. Observe that item give 'Invalid timeout:' error

      This happens because when removing all parameters the ZBX_DC_SCRIPTITEM structure where the parameters were stored is removed from cache. However this structure also stores script item timeout, so it shouldn't be removed.

      Attachments

        Issue Links

          Activity

            People

              asestakovs Aleksejs Sestakovs
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: