Skip to content

[BUGFIX] Fix Partials for TYPO3 v14#44

Merged
bmack merged 3 commits intomainfrom
bugfix/link-v14
Feb 13, 2026
Merged

[BUGFIX] Fix Partials for TYPO3 v14#44
bmack merged 3 commits intomainfrom
bugfix/link-v14

Conversation

@bmack
Copy link
Member

@bmack bmack commented Jan 14, 2026

No description provided.

@bmack bmack requested a review from achimfritz January 14, 2026 19:14
@bmack bmack changed the title [BUGFIX] Fix Link partial for TYPO3 v14 [BUGFIX] Fix Partials for TYPO3 v14 Jan 19, 2026
B13\Backendpreviews\Hooks\BackendPreviewRenderer:
public: true
B13\Backendpreviews\Service\DatabaseRowService:
public: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would prefer to give the fileRepository as constructor arguments in the ContentPreview

-        $data = GeneralUtility::makeInstance(DatabaseRowService::class)->getAdditionalDataForView($record);
+        $fileRepository = GeneralUtility::makeInstance(FileRepository::class);
+        $data = GeneralUtility::makeInstance(DatabaseRowService::class, $fileRepository)->getAdditionalDataForView($record);

Copy link
Contributor

@achimfritz achimfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bmack bmack merged commit d41642b into main Feb 13, 2026
6 checks passed
@bmack bmack deleted the bugfix/link-v14 branch February 13, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants