-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand uncaught ValidationException messages #11423
Labels
Comments
This was referenced Jan 16, 2025
PRs merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DBField ValidationException started being thrown in #11403
The "message" is usually something simple such as "Must be numeric", which is fine in context of context of validation within forms as their is also a "fieldName" key that can be used to link the message to a UX form field.
However in the case of dev/build or other programmatic tasks, the validation message lacks "fieldName" and "value", which makes debugging harder then it needs to be
Notes
Value was at one point added to ValidationException the DBField PR - though ultimately taken out. If we proceed with this work it should be added back itAcceptance criteria
and "value"in dev/build like contextsCMS 5
Kitchen sink CI
PRs
After merging, reassign to Steve to rebase
CMS 6
Kitchen sink CI
PRs
The text was updated successfully, but these errors were encountered: