-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
6.4.19, 7.0.6
-
None
-
Ubuntu 20.04 and 22.04
Steps to reproduce:
- Navigate to any Host or template
- Create a Macro - Name: {$WEBSITE.ERROR.RECOVER}, Value 5m
- Create any Recover expression that compares the item value to a numeric value
Example: count(/Item/,5m,"eq","200") >= "max(ceil({$WEBSITE.ERROR.RECOVER}/60)" - If you enter this with the editor it will put quotes around the count(...) statement
- With the quotes this is a literal and will not match. If you remove the quotes it calculates the correct numeric value and works but if you then use the editor to modify the equation it removes the max(ceil((...))) equation and replaces it with 0 (zero).
Expected:
When using the edit function the Result value should remain as entered and not altered by adding quotes or replacing it with a zero.