Project

General

Profile

Actions

Bug #95877

closed

missing index "install_path" with composer 2.0

Added by Marco Huber over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-11-04
Due date:
% Done:

0%

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

Description

composer 2.0 doesn't set "install_path" in vendor/composer/installed.php like composer 2.1 does. This missing array index leads to a PHP notice in typo3/sysext/core/Classes/Core/Environment.php line 137 and because of some strange server configuration this breaks TYPO3 completly.

$ vendor/bin/typo3cms cache:flush
PHP Notice:  Undefined index: install_path in /custompath/private/typo3/sysext/core/Classes/Core/Environment.php on line 137

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95237: Usage of Composer 2.1 runtime API while only requireing 2.0Closed2021-09-16

Actions
Actions #1

Updated by Marco Huber over 2 years ago

  • Related to Bug #95237: Usage of Composer 2.1 runtime API while only requireing 2.0 added
Actions #2

Updated by Marco Huber over 2 years ago

Ok, sorry. I found #95237 where the problem should be solved and then I noticed, that we use `composer install --ignore-platform-reqs`. So this issue can be closed an we have to adjust our deployment... :-)

Actions #3

Updated by Helmut Hummel over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF