[BUGFIX] Allow multiple calls of ExtensionManagementUtility::loadBaseTca 01/54201/2
authorNicole Cordes <typo3@cordes.co>
Thu, 21 Sep 2017 19:17:55 +0000 (21:17 +0200)
committerHelmut Hummel <typo3@helhum.io>
Thu, 21 Sep 2017 20:29:53 +0000 (22:29 +0200)
commita398a7175f81f61d5ebf53d125bd1991ac65219e
tree48b21a84aa4695cbd322b1e4a33835408095ebab
parent10075697f87f2e2ecb4a45e682b2674159a70040
[BUGFIX] Allow multiple calls of ExtensionManagementUtility::loadBaseTca

Although the function itself is marked as private, it can be triggered
twice due to official API in EidUtility::initTCA. As requireOnce returns
true if called multiple times with the same file, this return state has
to be handled as well.

Resolves: #82539
Related: #82408
Releases: 8.7
Change-Id: I1acd519c342e525c06eda44289acdf86c508a898
Reviewed-on: https://review.typo3.org/54201
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Faton Haliti <fha@systime.dk>
Tested-by: Faton Haliti <fha@systime.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php