-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: 6.0.9
-
Component/s: Proxy (P), Server (S)
-
None
-
Sprint 94 (Nov 2022)
-
0.125
Steps to reproduce:
- Create script item with parameter (simple 'return 1' would be enough)
- Reload configuration cache
- Observe that item is processed normally
- Remove all parameters of created script item
- Reload configuration cache
- 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.