Project

General

Profile

Actions

Bug #83144

closed

Crash when loaded extension is missing

Added by Markus Klein almost 7 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2017-11-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

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)
Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF