[BUGFIX] Add table name as prefix for language DB selection
When building JOINs with TypoScript of tt_content or any localized table, using "LEFTJOIN tt_content table2" the language restriction check is not using a prefix for the "l10n_parent" field. The "sys_language_uid" field already has the same prefix built in the same method. This error existed in v8 already, but in TYPO3 v9, the "includeRecordsWithoutDefaultTranslation" option is enabled by default (via LanguageAspect), therefore it's more prominent. Resolves: #87521 Releases: master, 9.5 Change-Id: I1a3ee4f1f84d64a5d56cf63607a7aed83fdd13fc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60430 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Tested-by:
Julian Geils <j_geils@web.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Julian Geils <j_geils@web.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Please register or sign in to comment