Open winem opened 3 years ago
@winem - is this a new problem in 3.5? Would be good to confirm this is new to 3.5. If it's new to 3.5 then @m4dcoder i wonder if you know of any changes it's related to?
I do wonder if this has always been the case. Eg I recall if you create a rule and don't choose a pack then it fails to save - even though it shows a default pack of "default". You did always have to actually specify the value rather than the default.
If it's always been a problem then we should raise an issue, but it wouldn't be a blocker.
I don't think that it's related to 3.5 and it wouldn't be a release blocker as the workaround is fairly easy.
I'll do some more tests on older releases tomorrow to see if any of the (potential) issues I saw so far is being introduced with 3.5 or an old one.
I tried to create a rule that reacts on a specific slack message.
The criteria operator has not been changed and is still the one that's shown per default (regex).
Saving the rule fails with:
This happens because the preselected operator is not sent to the backend as a look on the request parameters shows:
criteria.trigger.text.type should be regex.
It works fine if you select any other operator or any other operator and then regex again.