Bug #27051
closedBE user is not able to expand page in pagetree if he have only exactly one mountpoint
0%
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
Updated by Susanne Moog over 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?
Updated by Susanne Moog over 13 years ago
- Status changed from New to Needs Feedback
Updated by Susanne Moog over 13 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.