Bug #69906
closedTranslated categories can not be (re-)assigned to original record in listview
100%
Description
The select field, l10n_parent, in a translated category record contains only one (if any) record due to wrong TCA configuration.
Line 73 in \typo3_src-6.2.15\typo3\sysext\core\Configuration\TCA\sys_category.php:
'foreign_table_where' => 'AND sys_category.uid=###REC_FIELD_l10n_parent### AND sys_category.sys_language_uid IN (-1,0)'
Might have been:
'foreign_table_where' => 'AND sys_category.parent=###REC_FIELD_parent### AND sys_category.sys_language_uid IN (-1,0)'
Updated by Riccardo De Contardi almost 9 years ago
- Target version changed from 6.2.16 to Candidate for patchlevel
Updated by Riccardo De Contardi over 5 years ago
I think I've found a way to reproduce this issue on latest master (by the way: the code mentioned in the description is still present):
Prerequisites¶
1. TYPO3 with more than one language (e.g Italian (Default) and English (ID=1)
2. A page with more that one language
Test¶
1. On a page (that has a translation) create a category "TEST" (use List view)
2. Translate "TEST" in the other language (call it for example "TEST ENG")
3. in List view > Edit "TEST ENG" > go to "Languages" tab
- the dropdown Transl.Orig [l10n_parent]
has two entries:
[0] [x] TEST
where [x] is the ID of the "TEST" category
4. Select the empty entry ([0]), save and close
5. Edit again "TEST ENG"
6. Go to "Languages" tab and click on the Transl.Orig [l10n_parent]
dropdown
Result:¶
The dropdown contains only the "[0]
" entry, so it is not possible to reassign the category to the original "TEST"
Note¶
I don't know if this is "by design": in fact, what values should the dropdown show? It should be every category in the default language
Updated by Gerrit Code Review about 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66221
Updated by Gerrit Code Review about 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66221
Updated by Gerrit Code Review about 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66293
Updated by Christian Kuhn about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b2de322b8c0b0d6ef982cc99207d38130eb3d20a.
Updated by Markus Klein about 4 years ago
- Related to Bug #92863: TCA change for sys_file_reference l10n_parent kills performance added
Updated by Oliver Hader almost 4 years ago
- Related to Bug #92873: Regression: Image on translated page not shown anymore added