Bug #53120
Proper fetching of records in a language in the fallback-chain
Status: | New | Start date: | 2013-10-25 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | 7.4 (Backend) | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | Sprint Focus: | |||
Complexity: |
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
History
#1 Updated by Mathias Brodala almost 2 years ago
Isn't this related to #17354?
#2 Updated by Mathias Schreiber 7 months ago
- Target version set to 7.4 (Backend)