Bug #83144
closedCrash when loaded extension is missing
0%
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.
Updated by Christian Kuhn almost 7 years ago
- Subject changed from Install tool breaks when extension is missing to Crash when loaded extension is missing
- Description updated (diff)
Updated by Christian Kuhn about 6 years ago
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.
Updated by Markus Klein 4 months ago
- Status changed from Accepted to Closed
- Priority changed from Should have to Won't have this time
Time 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.