#91220ExtensionManager dependency calculation does not take extension-interrelationship-dependencies into account
Description
When one extension depends on two extensions where both extensions depend on a third one, but with a different set of matching versions, then ExtensionManager is unable to find the common dependency version that is allowed by both extensions, because it decided for a very too early.
Sound very complicated in written words, therefore an example:
Two custom extensions: “master” and “other_ext”
EXT:master (allowing powermail v6-v8 and depending on `other_ext`)
‘constraints’ => array(
‘depends’ => array(
‘typo3’ => ’9.5.0-9.5.99’,
‘powermail’ => ’6.0.0-8.99.99’,
‘other_ext’ => ‘*’,
),
),
EXT:other_ext (allowing only powermail v6)
‘constraints’ => array(
‘depends’ => array(
‘typo3’ => ’9.5.0-9.5.99’,
‘powermail’ => ’6.0.0-6.99.99’,
),
),
When installing “master” on 9.5 the error “powermail was requested to be downloaded in different versions (6.2.0 and 7.4.0).” will be thrown.
That is because the latest version of powermail is used when checking dependencies for “EXT:master” – the compatible v6 should/could be taken into account as both extensions are marked to be compatible with it and v6 itself is marked to be v9.5 compatible.
Note: This is not a bug that was introduced with https://review.typo3.org/c/Packages/TYPO3.CMS/+/64308/ (that patch is fine) – it’s just an additional and more complex case.
- is therefore related, but not the source of this bug.
Reviews 3
- 13.4 95053[BUGFIX] Isolate update check from download queue
- 14.3 95052[BUGFIX] Isolate update check from download queue
- main 94474[BUGFIX] Isolate update check from download queue
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". The changes above were merged or abandoned: read them before you start. How to create a patch
- Commit message
-
[BUGFIX] ExtensionManager dependency calculation does not take extension-interrelationship-dependencies into account Resolves: #91220 Releases: main
Related issues 1
History 4
-
Benjamin Franzke changed Related to #91179 <span data-processor="relativetime" data-value="2020-04-28T11:40:19+00:00" > 04/28/20, 11:40 </span>
-
Simon Gilli changed status
NewAccepted assigned to Simon Gilli <span data-processor="relativetime" data-value="2020-04-28T11:41:07+00:00" > 04/28/20, 11:41 </span> -
Benni Mack changed removed the assignee <span data-processor="relativetime" data-value="2025-03-27T10:28:30+00:00" > 03/27/25, 10:28 </span>
-
Georg Ringer commented and changed TYPO3 Version
1014 <span data-processor="relativetime" data-value="2026-10-06T17:25:15+00:00" > 10/06/26, 17:25 </span>
imho still valid