Project

General

Profile

Actions

Bug #65304

closed

Backend (TCA): TreeView: maxLevels not working correctly

Added by Andreas Allacher over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-02-25
Due date:
% Done:

100%

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

Description

Hi,

currently the maxLevels for TreeViews in Backend are not working correctly.
I attached Screenshots to make clear the current state and the state that is reached by using the Patch I posted to review.

Currently if one uses maxLevels 0, instead of only seeing the root category, one actually is presented of nodes up to level 2 (if one would specify the levels in nonSelectableLevels), with maxLevels it is up to level 3.


Files

all_categories.png (11 KB) all_categories.png All system categories in that TYPO3 installation Andreas Allacher, 2015-02-25 08:45
maxLevels_0.png (10.9 KB) maxLevels_0.png Current behaviour of maxLevels 0 (which actually provides levels up to level 2) Andreas Allacher, 2015-02-25 08:45
maxLevels_1.png (11.7 KB) maxLevels_1.png Current behaviour for maxLevel 1 (provides levels up to level 3) Andreas Allacher, 2015-02-25 08:45
fix_maxLevels_0.png (7.12 KB) fix_maxLevels_0.png maxLevels 0 with fix Andreas Allacher, 2015-02-25 08:45
fix_maxLevels_1.png (9.34 KB) fix_maxLevels_1.png maxLevels 1 with fix Andreas Allacher, 2015-02-25 08:45
fix_maxLevels_2.png (10.9 KB) fix_maxLevels_2.png maxLevels 2 with fix Andreas Allacher, 2015-02-25 08:45
Actions

Also available in: Atom PDF