Skip to content
Snippets Groups Projects
Commit 8e102f49 authored by Dmitry Dulepov's avatar Dmitry Dulepov Committed by Benni Mack
Browse files

[BUGFIX] Fix translation wizard when there are elements with language "All"

Translation wizard will hang if there are new content elements to
translate and there is an element with language "All". This change
fixes the problem by disallowing to fetch elements with this
language.

The fix is contributed by the University of Basel.

Resolves: #92751
Releases: master, 10.4, 9.5
Change-Id: Ib018e04f6e95a1dc1a1d1f57631a31b986a10cd5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66557


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent e3746d44
Branches
Tags
No related merge requests found
......@@ -74,6 +74,10 @@ class LocalizationRepository
$queryBuilder->expr()->eq(
'tt_content.sys_language_uid',
$queryBuilder->createNamedParameter($localizedLanguage, \PDO::PARAM_INT)
),
$queryBuilder->expr()->neq(
'tt_content_orig.sys_language_uid',
$queryBuilder->createNamedParameter(-1, \PDO::PARAM_INT)
)
)
->groupBy('tt_content_orig.sys_language_uid');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment