Feature #24005
closedcObject CONTENT does not allow to fetch records that have no translation parent
100%
Description
When you fetch records through the TypoScript object "CONTENT" (or, let's say through ".select" in general), you have an option called "languageField" in order to fetch only records that match the current language.
What "select" does here is that it fetches all records in the default language ("0,-1") and then overlays them with the records of the current language.
However, it's not possible to fetch the records that don't have a localization parent.
The patch introduces a new option called "includeRecordsWithoutDefaultTranslation" that also checks for records with the languageField matching the current language, where there is no translation parent (l10n_parent = '').
(issue imported from #M16332)
Files
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13083
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13083
Updated by Markus Klein over 11 years ago
- Category deleted (
Communication) - Target version changed from 0 to 6.2.0
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/13083
Updated by Gerrit Code Review over 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/13083
Updated by Gerrit Code Review about 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/13083
Updated by Benni Mack about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b3b5c7d99f9bf948ad449e604ba506e413bf5e49.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed