Skip to content

Conversation

@cristianscheid
Copy link
Contributor

Summary

Display error feedback to users when image upload fails in the theming admin section.

Changes

  • Add error handling on frontend to show server messages for 422 errors and generic messages for other status codes
  • Validate new image before deleting the previous one to preserve valid images when upload fails

Screenshots

01 02

Checklist

…ous image only after validation

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid self-assigned this Feb 2, 2026
@cristianscheid cristianscheid requested review from a team as code owners February 2, 2026 17:24
@cristianscheid cristianscheid removed the request for review from a team February 2, 2026 17:24
@cristianscheid cristianscheid requested review from leftybournes and removed request for a team February 2, 2026 17:24
@cristianscheid
Copy link
Contributor Author

/backport to stable33

@cristianscheid
Copy link
Contributor Author

/backport to stable32

@cristianscheid
Copy link
Contributor Author

/backport to stable31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Missing error handling for invalid theming image upload

2 participants