Project

General

Profile

Actions

Bug #53553

closed

TcaTree Already set categories are getting deleted when adding new ones

Added by Kaan Sanli over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2013-11-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Georg Ringer over 10 years ago

this is a core issue and not news related

Actions #2

Updated by Georg Ringer over 10 years ago

  • Project changed from 1486 to TYPO3 Core
  • Category deleted (921)
Actions #3

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
Actions #4

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

Actions #5

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.

Actions #6

Updated by Mathias Schreiber over 9 years ago

  • Status changed from Needs Feedback to Closed

Hi kaan,

thanks a lot for checking again.

Actions

Also available in: Atom PDF