Bug #53553
closedTcaTree Already set categories are getting deleted when adding new ones
0%
Description
When adding additional categories to e.g. news, which already have set categories, under certain circumstances the old categories get deleted.
This happens when using a multi-level category-tree, selecting additional (sub)categories, while having already selected subcategories, which are not visible, because the parent category is not expanded to show it's subcategories.
Example:
- Cat1 (not selected, not expanded, so you can't see the selected child-subcats 1 & 2 )
- Subcat 1 (already selected)
- Subcat 2 (already selected)
- Cat2 (not selected, is expanded to add the addional child-subcat)
- Subcat 3 (this one is added addionally)
After saving, only Subcat 3 is still selected, while Subcat 1 & Subcat 2 aren't anymore.
As soon as one category having already selected subcategories is expanded and retracted again, the bug doesn't show anymore, even when you add new categories.
This bug was reproduced in T3-versions 4.7.14 with news system (v2.0.0) and 6.0.10 with news system (v2.1.0).
For now we solved the problem using
$TCA['tx_news_domain_model_news']['columns']['categories']['config']['treeConfig']['appearance']['expandAll'] = 1;
So the category-tree is always completly expanded and the bug can't happen anymore.
Updated by Georg Ringer over 10 years ago
this is a core issue and not news related
Updated by Georg Ringer over 10 years ago
- Project changed from 1486 to TYPO3 Core
- Category deleted (
921)
Updated by Georg Ringer over 10 years ago
- Subject changed from Already set categories are getting deleted when adding new ones to TcaTree Already set categories are getting deleted when adding new ones
- Is Regression set to No
Updated by Mathias Schreiber over 9 years ago
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
Hi Kaan,
could you please try to reproduce this on current master?
THanks in advance
Updated by Kaan Sanli over 9 years ago
The bug isn't really reproducible, because in tx_news 3.x the old category system was abandoned and lower versions of news are not compatible to the current master. Instead sys_categories are used.
Concerning sys_categories and the described bug: I tested several installations using T3 6.2.x and tx_news 3.x, but I haven't seen the describe bug again.
I would suggest to close the ticket.
Updated by Mathias Schreiber over 9 years ago
- Status changed from Needs Feedback to Closed
Hi kaan,
thanks a lot for checking again.