Cancel Stalled throws a fatal error (protected CMSApplication::getContainer()) #306
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Type: bug Priority: high Component: com_mokosuitebackup
Summary
Clicking Backup Records → Cancel Stalled dies with a fatal:
There is therefore no working UI path to clear a stuck backup.
Root cause
BackupsController::cancelStalled()andpurge()fetch the DB via$this->app->getContainer(), butCMSApplication::getContainer()isprotected.Fix
Use
Factory::getContainer()(as the rest of the component already does). Both call sites corrected on branchfix/backup-cancel-stall-runbackup-updatesite.Repro
runningstate.Branch created:
feature/306-cancel-stalled-throws-a-fatal-error-prot