Skip to content

fix(errors): render a dedicated 422 page instead of the 500 page - #1138

Open
raulriera wants to merge 1 commit into
masterfrom
fix/unprocessable-error-page
Open

fix(errors): render a dedicated 422 page instead of the 500 page#1138
raulriera wants to merge 1 commit into
masterfrom
fix/unprocessable-error-page

Conversation

@raulriera

Copy link
Copy Markdown
Member

Summary

  • /422 was routed to errors#server_error, so unprocessable-entity responses rendered the 500 page with a 500 status
  • Adds an unprocessable action + template (Tabler empty-state matching the other error pages) and an errors.messages.unprocessable key in en/es/pt
  • New test file covers routing plus response status for all four error pages

Test plan

  • Red tests: /422 recognized as server_error; unprocessable action missing
  • Green after fix
  • Full suite passes (527 runs, 0 failures)

/422 was routed to errors#server_error, so unprocessable-entity
responses masqueraded as server errors. Add an unprocessable action,
template and translated message in en/es/pt, with status tests for
all four error pages.
@github-actions github-actions Bot added the fix A bug has been resolved label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug has been resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant