Validation rule params getting updated with formatted integers, and then failing
Functionality has been added that formats integer params for validation rules when generating error messages - e.g. 1000 will become 1,000.
However, this is updating the rule definition itself, so the next time the validation rule is run, it will be working with a formatted integer - and if it has a comma in it, validation may fail with a message like this:
So these params need to be duplicated before formatting them for the error message.