Actions
Bug #90302
closedDatabaseTreeDataProvider crashes after switching to PSR-14
Start date:
2020-02-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
After #89733 the feature of custom tree providers doesn't work anymore.
Reason is that in TreeDataProviderFactory line 44
there is this call
$dataProvider = GeneralUtility::makeInstance($tcaConfiguration['treeConfig']['dataProvider'], $tcaConfiguration, $table, $field, $currentValue);
this will call the treeprovider with the tcaConfiguration
as 1st constructor parameter which of course won't work anymore because this is no using DI
public function __construct(EventDispatcherInterface $eventDispatcher) { $this->eventDispatcher = $eventDispatcher; }
Actions