Project

General

Profile

Actions

Bug #106516

open

Backend record edit of category records allows setting child categories as parent categories (circular dependency)

Added by Torben Freudewald 21 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2025-04-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
14
PHP Version:
8.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Backend record edit of category records allows setting child elements as parent elements and therefore creating a loop which results in those categories and their subcategories not being rendered.

Found in v11 and verified in v14.

How to reproduce:
  1. Create two categories
    Create two categories
  2. Edit category BBB and set category BBB to be child of AAA
    Edit category BBB and set category BBB to be child of AAA
  3. Edit category AAA and set category AAA to be child of BBB
    Edit category AAA and set category AAA to be child of BBB
  4. After saving the categories disappear due to obvious display issues of circular dependencies
    After saving the categories disappear due to obvious display issues of circular dependencies

To show the categories again, one of the categories needs to update their parent category.


Files

Screenshot 2025-04-07 at 15.23.26.png (11.4 KB) Screenshot 2025-04-07 at 15.23.26.png Create two categories Torben Freudewald, 2025-04-07 13:23
Screenshot 2025-04-07 at 15.30.20.png (14.3 KB) Screenshot 2025-04-07 at 15.30.20.png Edit category BBB and set category BBB to be child of AAA Torben Freudewald, 2025-04-07 13:30
Screenshot 2025-04-07 at 15.33.03.png (14.4 KB) Screenshot 2025-04-07 at 15.33.03.png Edit category AAA and set category AAA to be child of BBB Torben Freudewald, 2025-04-07 13:33
Screenshot 2025-04-07 at 15.34.09.png (9.57 KB) Screenshot 2025-04-07 at 15.34.09.png After saving the categories disappear due to obvious display issues of circular dependencies Torben Freudewald, 2025-04-07 13:34

No data to display

Actions

Also available in: Atom PDF