Closed frantz45 closed 5 months ago
For an AND rule, it seems that two unschedule requests are sent for the event definition. And the second one has a null identifier. (PUT /api/events/definitions/null/unschedule) Same problem with enable.
This is because there is a second event definition only in the case of OR. But there is a second stream in the case of THEN, AND and OR. The second event definition request is erroneously based on the presence of a second stream.
This bug (as well as #131 probably) are pure IHM bugs. Unfortunately, I don't have an easy/quick way to add tests for their fixes :(
Create an AND rule and click on the Disable button. It throws the following exception:
It produces the same issue when you click on Enable. However it seems to work as it enable/disable Streams and Event Definition.