fix: add error handling to Settings and PlatformUser modals #32
No reviewers
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
epic
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-admin#32
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/modal-error-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Log::error()calls with admin/user context for every caught exceptionLogfacade import to Settings.php (PlatformUser already had it)Settings.php (Issue #9)
updateProfile()— catches DB failures on user updateupdatePreferences()— catches failures on Setting::updateOrCreate loopupdatePassword()— catches failures on password hash/updaterequestAccountDeletion()— catches failures on deletion request creation and email sendcancelAccountDeletion()— catches failures on deletion cancellationPlatformUser.php (Issue #10)
saveTier()— catches failures on tier enum/savesaveVerification()— catches failures on verification toggle/saveresendVerification()— catches failures on notification sendscheduleDelete()— catches failures on deletion request creationcancelPendingDeletion()— catches failures on deletion cancellationanonymizeUser()— catches failures on DB::transaction for anonymisationprovisionPackage()— catches failures on EntitlementService::provisionPackagerevokePackage()— catches failures on EntitlementService::revokePackageprovisionEntitlement()— catches failures on EntitlementService::provisionBoostremoveBoost()— catches failures on boost status updateFixes #9
Fixes #10
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.