[ ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
[x] Regression (a behavior that stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
When trying to create a new rule of type IF Content Changed THEN Webhook the Rule is not created and shows an error message. In the network tab we can see that the POST request to create the rule is giving a 500 response.
Expected behavior
It should be possible to create a new rule.
Minimal reproduction of the problem
Go to the rules page and try to create a new rule of the specified type.
Edit: Oh nm, just wiped out our instance and recreated and Rules now work as expected. Wonder why Rules were not being triggered (yes they were definitely enabled and clustering:worker was set to true!)
The root cause of this bug is an error in the UI, which was providing the “HandleAll” property of the content changed trigger as null to the backend. The old JSON serializer was accepting that, the new one is more strict and was throwing an error. Unfortunately the error was swallowed.
The commit has just increased the timeout for messages. Actually the messaging is only really relevant for backups, because there are the following message types:
Start and stop an event consumer. If the message is not handled properly, nothing happens.
Start and stop of backup processes.
Start and stop of restore processes.
Running the rules over the UI (not the normal process).
Usage handling for the cloud to send out emails when you are running low of API calls.
The normal rule flow is independent and just runs as event consumer in the background and consumes the events.