#107995optionalDependencies in "imbricated" Site set cause php warning
Description
I bumbed into this issue by trying to do the following
# Configuration/Sets/Base/config.yaml
name: vendor/base
label: Site package Base
# Configuration/Sets/News/config.yaml
name: vendor/news
label: News configuration
dependencies:
- georgringer/news
If EXT:news is not installed, i can select vendor/base, and vendor/news is disabled
If EXT:news is installed, i can select vendor/base and vendor/news
==> All good
Now i want to add a “Full package Site Set” that should load “vendor/base”, and “vendor/news” if EXT:news is installed
My guess would be to do this:
# Configuration/Sets/Full/config.yaml
name: vendor/full
label: Site package Full
dependencies:
- vendor/base
optionalDependencies:
- vendor/news
But then i got this error
PHP Warning: Undefined array key “vendor/news” in /var/www/html/vendor/typo3/cms-core/Classes/Service/DependencyOrderingService.php line 247
Thanks :)
Reviews 2
History 212
-
Gerrit Code Review pushed patch set 1 for main to change 91434 status
NewUnder Review 11/06/25, 14:06 -
Gerrit Code Review pushed patch set 2 for main to change 91434 11/06/25, 14:11
-
Gerrit Code Review pushed patch set 3 for main to change 91434 11/06/25, 14:13
-
Gerrit Code Review pushed patch set 4 for main to change 91434 11/06/25, 14:18
-
Gerrit Code Review pushed patch set 5 for main to change 91434 11/06/25, 14:27
-
Gerrit Code Review pushed patch set 6 for main to change 91434 11/06/25, 18:52
-
Gerrit Code Review pushed patch set 7 for main to change 91434 11/18/25, 08:23
-
Gerrit Code Review pushed patch set 8 for main to change 91434 11/18/25, 08:24
-
Gerrit Code Review pushed patch set 9 for main to change 91434 12/12/25, 13:02
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 92117 12/12/25, 13:22
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 12/12/25, 13:35 -
Benni Mack changed status
ResolvedClosed 03/31/26, 09:00
Applied in changeset commit:ad3185bd9e819364d6d312bde74e891ed3bcabf1.