Skip to content

Commit 43217bd

Browse files
GoncaloPTsnicoll
authored andcommitted
Fix error codes in Customizing Validation Errors section
See gh-33354
1 parent a31945f commit 43217bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ Kotlin::
431431

432432
A `ConstraintViolation` on `Person.name()` is adapted to a `FieldError` with the following:
433433

434-
- Error codes `"Size.student.name"`, `"Size.name"`, `"Size.java.lang.String"`, and `"Size"`
434+
- Error codes `"Size.person.name"`, `"Size.name"`, `"Size.java.lang.String"`, and `"Size"`
435435
- Message arguments `"name"`, `10`, and `1` (the field name and the constraint attributes)
436436
- Default message "size must be between 1 and 10"
437437

0 commit comments

Comments
 (0)