-
Notifications
You must be signed in to change notification settings - Fork 62
Editing existing trigger always set trigger condition to 10000 events instead last saved value #199
Comments
+1 |
Hi @cichons and @LukaszWasko, I tried to reproduce the issue, but I was not able to. The trigger is displaying the last saved value for me. I have a few questions:
Thanks, |
I use Opendistro from 1.7.0-1 version updated to 1.8.0 updated to 1.9.0 updated to 1.10.1 and currently lasted version 1.11 monitor dump : GET _opendistro/_alerting/monitors/ZVrICXMBJ-xhvuTI0rM7
} |
I met this issue too,7.10.0 |
I can confirm the issue on [email protected] and found two ways to reproduce: a) The first circumstance under which this happens is if the trigger name contains a dot ("."). So a name like "Trigger without a dot" works fine, but "Trigger with a ." always makes the trigger condition to be set to 10.000 and the operator to "is above" instead of the previously set config when I open a trigger for editing. I could not reproduce the bug with other characters. E.g. underscores like in "trigger_name" in the OP's screenshot work fine for me. Just the dot causes the issue. b) The second way to reproduce this bug is to open the monitor for editing, then click the "update" button. Now if I open the trigger for editing, the condition's value is displayed as 10.000, even if the trigger name doesn't contain a dot. After correcting the value and saving the trigger (without a dot in the name), the value is displayed correctly when editing the trigger the next time. In both cases, the originally saved value is correctly kept in monitor data, it's just displayed incorrectly. However, saving that incorrectly displayed value will change it permanently. |
When i enter on edit trigger page, the trigger condition is always set to 10000 instead to last saved condition value
Opendistro version :
opendistroforelasticsearch-kibana-1.10.1-1.x86_64
opendistro-alerting-1.10.1.2-1.noarch
The text was updated successfully, but these errors were encountered: