Project

General

Profile

Actions

Task #86141

closed

Remove superfluous database contraint in DataMapProcessor

Added by Nicole Cordes over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2020-05-18
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The database query to fetch dependent elements in \TYPO3\CMS\Core\DataHandling\Localization\DataMapProcessor::fetchDependentElements uses an IN constraint as well as an gt() (greater than) constraint. Having the IN constraint is sufficient and the gt() constraint should be superfluous.

Removing the gt() constraint reveals some more flaws as the API returns 0 id as ancestor id. This has to be fixed as well to prevent wrong elements.


Files

issue86141_0.1.0_201809092229.zip (5.44 KB) issue86141_0.1.0_201809092229.zip Nicole Cordes, 2018-09-09 22:30

Subtasks 2 (0 open2 closed)

Bug #91430: Unrelated tt_content associated to a news after translating itClosed2020-05-18

Actions
Bug #94056: Selecting wrong translation while synchronizeInlineRelationsClosedAlexander Opitz2021-05-04

Actions

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #78059: Checks in DataHandler localize mismatch with new Localization WizardClosedDaniel Maier2016-09-25

Actions
Related to TYPO3 Core - Bug #86231: Distinguish between free-mode localization and chained translationNew2018-09-12

Actions
Actions

Also available in: Atom PDF