Project

General

Profile

Actions

Bug #81040

closed

Extbase QueryResult::count() incorrect for strict language mode

Added by Axel Helmert almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2017-04-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

When changing the sys_language_mode to strict, the resulting count is incorrect for the following circumstances:

  • sys_language_mode is strict
  • The current sys_language is > 0
  • There is a record for the sys_language which is HIDDEN and has a valid parent_l10n reference
  • The l10n_parent record is the DEFAULT sys_language and NOT HIDDEN

I tracked it town to Typo3DbQueryParser::getSysLanguageStatement() this will respect deleted but not hidden when building the language specific constraints.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #73007: Insufficient sysLanguageStatement does not respect enableFields for translationsClosed2016-01-29

Actions
Actions #1

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52633

Actions #2

Updated by Axel Helmert almost 7 years ago

  • Is duplicate of Bug #73007: Insufficient sysLanguageStatement does not respect enableFields for translations added
Actions #3

Updated by Markus Klein almost 7 years ago

  • Status changed from Under Review to Closed

closed as duplicate

Actions

Also available in: Atom PDF