Issue Bug Closed

#83144Crash when loaded extension is missing

Markus Klein 11/28/17, 19:16 updated 08/01/24, 07:39

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

  1. Christian Kuhn changed subject Install tool breaks when extension is missing Crash when loaded extension is missing description 11/28/17, 19:18

  2. Christian Kuhn commented 09/18/18, 22:38

    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.

  3. Markus Klein commented and changed status Accepted Closed priority Should have Won't have this time 08/01/24, 07:39

    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.