Skip to content

Conversation

@jnovinger
Copy link
Member

Fixes: #19872

When script form validation fails (e.g., required fields excluded from fieldsets), display error messages via Django's message framework instead of failing silently.

When script form validation fails (e.g., required fields excluded from
fieldsets), display error messages via Django's message framework instead
of failing silently. Error format: "field: error1, error2; field2: error".
When script form validation fails, display error messages for fields not
in fieldsets. Fields in fieldsets show inline errors only; hidden fields
show toast notifications to provide feedback instead of failing silently.
@jnovinger jnovinger requested review from a team and bctiemann and removed request for a team October 21, 2025 16:56
@bctiemann bctiemann merged commit 09ce8a8 into main Oct 23, 2025
10 checks passed
@jeremystretch jeremystretch deleted the 19872-script-validation-errors branch October 28, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Script classes silently fail validation when inherited required fields are omitted from fieldsets

3 participants