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 #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #2

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #3

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #4

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37196

Actions #7

Updated by Andreas Allacher over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF