[BUGFIX] inject* methods in FAL inhibit use of Extbase object manager
The ResourceStorage class of FAL has two inject* methods which are seen as dependency injectors by the Extbase object manager. Thus an exception is thrown when a ResourceStorage object is created via Extbase. This commit changes the two method's names and adjust all usages within the core. These methods are internal and I don't expect them to be used anywhere else, so we don't need a backwards compatibility layer. Change-Id: I4b73445708cf8041b505b5ea8923dc595ddaadb0 Resolves: #45319 Releases: 6.1, 6.0 Reviewed-on: https://review.typo3.org/18882 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- t3lib/class.t3lib_userauthgroup.php 6 additions, 6 deletionst3lib/class.t3lib_userauthgroup.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 6 additions, 6 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Resource/ResourceStorage.php 3 additions, 3 deletionstypo3/sysext/core/Classes/Resource/ResourceStorage.php
- typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php 5 additions, 5 deletions...3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
Please register or sign in to comment