Bug #88072

Language overlay in DatabaseQueryProcessor

Added by Rainer Roskothen about 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-04-04
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have a page with two languages (0 = english, 1 = german). All categories are set to "All languages". The categories are used on Pages or/and Content Elements

10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = sys_category
selectFields = uid
pidInList = 3
join = sys_category_record_mm ON sys_category.uid = sys_category_record_mm.uid_local
where = (tablenames = 'tt_content' AND sys_category_record_mm.uid_foreign = {field:uid})
where.insertData = 1
as = cats
}

On the default page I get an array of the selected categories. On the german page the query on the database gets the right selected categories but the result gets afterwards killed by the language overlay resulting in an empty array for the german page.

Using "languageField = 0" has only effect on default language.

History

#1 Updated by Bastian Bringenberg about 2 months ago

  • Project changed from forge.typo3.org to TYPO3 Core
  • TYPO3 Version set to 9

Moved to right projects. Guessed TYPO3 Version 9.

#2 Updated by Rainer Roskothen about 2 months ago

  • Subject changed from Language overlay in DatabaseQueryProcessor II to Language overlay in DatabaseQueryProcessor
  • Description updated (diff)

#3 Updated by Rainer Roskothen about 1 month ago

  • Category set to Localization

Also available in: Atom PDF