<!-- Thanks for reporting an issue! Please fill out the blanks below. --> ## What are the steps to reproduce this issue? 1. Set a unique constraint on field in a model and set a custom error message for that constraint 2. Try to enter a non-unique value into that field ## What happens? Receive the error "Complex object types cannot be converted to simple values. " from line 216 of the validationResult.cfc. Note: you must use UniqueValidatorMessage instead of UniqueMesssage ## What were you expecting to happen? To receive the custom error message. ## Any logs, error output, etc? … ## Any other comments? … ## What versions are you using? 4.8.0
Activity