Project

General

Profile

Actions

Bug #53120

closed

Proper fetching of records in a language in the fallback-chain

Added by Stefan Neufeind about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-10-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

  • Image a record that only exists in language 1.
  • Fallback is 2 -> 1 -> 0
  • Usually in the core records for IN (0, -1) are fetched and then overlays performed.
  • In some cases also the current language is fetched (2 here) because there might be records which only exist in 2 and have no 0.

What we currently miss in various places are records that only exist in 1 (more general: only in languages inside the fallback-chain, not existing in 0 or the current language).

This turned up during the review of https://review.typo3.org/23905 but is imho a too general problem in various areas of the core as to fix it just in that one patch. We might need some tool-function to create a proper condition (like with enableFields or so).


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17354: fallback for menus. "content_fallback;1,0" has no affect for page records (e.g. menu)Closed2007-07-22

Actions
Actions

Also available in: Atom PDF