Bug #95647
closedEXT-dependencies not respected when loading ext_localconf.php
100%
Description
I have a composer based TYPO3 installation with two extensions: EXT:one
and EXT:two
.
The extension EXT:one
depends on EXT:two
. The dependency is defined in the ext_emconf.php
.
In the ext_localconf.php
of EXT:one
I am calling helper-functions / static methods from EXT:two
. This throws an error, saying the methods are unknown / not registered, meaning EXT:two
is not present / was not loaded when the code in the ext_localconf.php
is executed.
In the loading order of the individual ext_localconf.php
the alphabetic order of the extensions-folders seems to play a role. No error is thrown, if I rename EXT:one
to EXT:zork
. "Z" seems to be loaded AFTER "T".
I can fix this issue by adding the dependency to the composer.json
of EXT:one
:
{ ... "require": { "nng/two":"..." } }
It seems that everything worked fine up till version 11.5