Project

General

Profile

Actions

Bug #96984

open

Duplicate data imports with typo3/cms-composer-installers v4

Added by Alexander Vogt almost 3 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
composer
Target version:
-
Start date:
2022-02-21
Due date:
% Done:

0%

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

Description

I have tried the upcoming composer installer v4 ("typo3/cms-composer-installers:4.0.x@dev"). This leads to a duplicate execution of data imports and in my case to a duplicate tree in the backend (duplicate "Initialisation/" import execution).

sys_registry entry before upgrade:
  • entry_namespace: extensionDataImport
  • entry_key: typo3conf/ext/extension/Initialisation/dataImported
new sys_registry entry after upgrade:
  • entry_namespace: extensionDataImport
  • entry_key: or/company/extension/Initialisation/dataImported

This occurs because of the changed package path https://github.com/TYPO3/typo3/blob/v11.5.6/typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php#L450
Composer Installer v3: /var/www/app/www/typo3conf/ext/extension/ -> typo3conf/ext/extension/
Composer Installer v4: /var/www/app/vendor/company/extension/ -> or/company/extension/

Is this issue already known?

Actions

Also available in: Atom PDF