Reproduce:
- Try to create an alert with a threshold above integer max value (e.g. 4838400000) via the rest api
Expected:
- 204 No Content response
Observed:
- 400 Bad Request response
Context:
- Since we store the value of duration reports as milliseconds, this number can be exceeded easily if a user wants to set a duration threshold of more than 25 days.
Hint:
- We should probably use long instead of int to store the threshold
- This might also affect the "Check report every" and "Reminder Emails" fields