Bug #44947
closedt3lib_extMgm::makeCategorizable get TCA with wrong foreign_table_where
0%
Description
If I want to use the system categories for my extension records, I can use the function t3lib_extMgm::makeCategorizable. For my understanding, it makes no sense to show all default language categories AND all translated categories. ONLY the default language categories should be displayed for a selection.
The TCA configuration on line 2006 in the file typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php has the following code:
'foreign_table_where' => ' ORDER BY sys_category.title ASC',
I think, better is the following code:
'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.title ASC',
Updated by Wouter Wolters almost 12 years ago
Does this patch solves you're problem https://review.typo3.org/#/c/12812/ ?
Updated by Tobias Klepp almost 12 years ago
No. If I look in the file typo3/sysext/core/Classes/Category/CategoryRegistry.php on line 260 there is the same wrong WHERE clause.
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 6.0.2 to 7.4 (Backend)
- Is Regression set to No
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Categorization API
- Target version changed from 7 LTS to Candidate for Major Version
Updated by Riccardo De Contardi about 6 years ago
- Status changed from New to Needs Feedback
Is this issue still present?
So far, I've discovered that at least the CategoryRegistry.php
mentioned on comment 2 should be ok (TYPO3 9.5.2-dev (latest master), line 408):
'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.sorting ASC'
Updated by Riccardo De Contardi almost 6 years ago
- Status changed from Needs Feedback to Closed
- Target version deleted (
Candidate for Major Version)
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards