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

@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

cristianscheid and others added 3 commits February 3, 2026 18:29
…ous image only after validation

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the fix/57669/show-theming-image-upload-errors branch from 1fc10b9 to fd7a859 Compare February 3, 2026 18:32
@cristianscheid cristianscheid requested a review from susnux February 3, 2026 18:36
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

3 participants