#83144Crash when loaded extension is missing
Description
Removing an extension that is required by some other extension causes a crash early in bootstrap. This is especially unfortunate for the install tool.
The only solution is to remove all depending extensions from the PackageStates.php.
Note this only happens if a missing extension is a dependency of another extension.
Example:
- Use an instance with the ext:introductionpackage and remove the extension bootstrap_package.
- Try to access the install tool
Expected behaviour:
Show some usable trouble shooting screen or mark all depending extensions as inactive too. Handle this case somehow.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Christian Kuhn changed subject
Install tool breaks when extension is missingCrash when loaded extension is missing description 11/28/17, 19:18 -
Christian Kuhn commented 09/18/18, 22:38
-
Markus Klein commented and changed status
AcceptedClosed priorityShould haveWon't have this time 08/01/24, 07:39Time has gone by, and when instances are using composer this issue can not happen anymore in versions v12+.
I therefore declare this an extreme edge case and close the issue.
confirmed. easy to reproduce (in v9) with the bootstrap_package / introduction extensions as outlined above. i guess that’s because the install tool does not (for whatever reason) use the FailsafePackageManager anymore, but i’m also not sure on the impact if we change that again and why / where exactly that broke / has been changed. needs detailed investigation.