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; }
Updated by Georg Ringer almost 5 years ago
- Related to Feature #89733: Migrate various Signal Slots to PSR-14 events added
Updated by Christoph Lehmann almost 5 years ago
- Related to Bug #90399: Unable to use EventDispatcherInterface in custom TreeDataProvider added
Updated by Gerrit Code Review over 4 years ago
- Status changed from Accepted to Under Review
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63184
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63184
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 989fbe05bb30b9a14b71194156b9be8fd8647ba4.
Actions