Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Determine correct Preview mode in TYPO3 v9 #270

Merged
merged 1 commit into from
May 26, 2023

Conversation

calien666
Copy link
Member

closes #269

As the Context is introduced in v10 to TypoScriptFrontendController and
therefore PreviewAspect cannot be determined, in v9 the preview mode is
checked in a different way. This bugfix respects the non-existing
Context and PreviewAspect in TYPO v9 to determine the correct behaviour
in the renderDeeplPreviewFlag
@calien666 calien666 requested a review from NarkNiro May 26, 2023 08:31
@calien666 calien666 changed the base branch from main to 3.0 May 26, 2023 08:31
@NarkNiro NarkNiro changed the title [BUGFIX] Determine correct Preview mode in TYPO v9 [BUGFIX] Determine correct Preview mode in TYPO3 v9 May 26, 2023
@NarkNiro NarkNiro merged commit bbbb3b0 into 3.0 May 26, 2023
@NarkNiro NarkNiro deleted the bugfix/wv_deepltranslate-269 branch May 26, 2023 08:58
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.

[BUG] Call to undefined method TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getContext()
2 participants