Project

General

Profile

Actions

Bug #27051

closed

BE user is not able to expand page in pagetree if he have only exactly one mountpoint

Added by Sonja Schubert almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2011-05-26
Due date:
% Done:

0%

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

Description

The BE user is not able to expand the top page in pagetree if he have only exactly one mountpoint.

This is caused by the following condition in t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php

line 287 in 4.5.2 core
if (count($mountPoints) <= 1) {
$subNode->setExpanded(TRUE);
$subNode->setCls('typo3-pagetree-node-notExpandable');
}

As soon as I change the condition to only < it works..

Sorry have no git at the moment, otherwise you would have posted a patch.

Kind regards,
Sonja

Actions #1

Updated by Susanne Moog almost 13 years ago

hey sonja,

sorry I cannot reproduce this issue. and the code you posted is normally correct as it says that if the user has only one mountpoint it should always be expanded (automatically) ... .so the user should not be able to expand and collapse the root node but always see it open. can you give some more info on how to reproduce this?

Actions #2

Updated by Susanne Moog almost 13 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Susanne Moog over 12 years ago

  • Status changed from Needs Feedback to Closed

Closing issue because of no feedback within a month. Please reopen the issue if this is still a problem.

Actions

Also available in: Atom PDF