Project

General

Profile

Actions

Bug #36238

closed

Pagetree lost for non admin after upgrading to 4.5.15

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-04-17
Due date:
% Done:

0%

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

Description

after the upgrade to the security release 4.5.15 we encountered a strange behavior for non-admins. some parts of the pagetree cannot be applied to the pagetree, chrome console says:

ext-all-b0a2fcadbbd7a49a8783e32735395476.js:7
Uncaught TypeError: Cannot call method 'appendChild' of undefined

we tracked it down to the following conditions:
- logged in as admin user
- switching to non-admin
- this non-admin needs at least to db mounts of which the first is a folder
- as the non-admin we unfold the second element of the pagetree (the first one is a folder) and click to one of the subpages
- after this process (maybe after logging out a.k.a. switching back to admin) the be_users-record of this user contains extra data in the field uc:

...
s:8:"Pagetree";O:8:"stdClass":1:{s:9:"stateHash";O:8:"stdClass":15:{s:3:"oot";i:1;s:5:"e9-e9";i:1;s:16:"lastSelectedNode";s:7:"p771-67";s:5:"67-67";i:1;s:6:"89a-67";i:1;s:6:"882-67";i:1;s:6:"805-67";i:1;s:6:"7fb-67";i:1;s:6:"7c4-67";i:1;s:6:"77d-67";i:1;s:6:"771-67";i:1;s:6:"76b-67";i:1;s:6:"7ca-67";i:1;s:5:"69-67";i:1;s:5:"68-67";i:1;}}}}}

- re-switching to this user leads to the lost parts of the pagetree and the error message in the chrome console.


Files

class.t3lib_tree_pagetree_node.php (7.67 KB) class.t3lib_tree_pagetree_node.php Alexander Wende, 2012-04-18 14:56
Ext.ux.state.TreePanel.js (4.13 KB) Ext.ux.state.TreePanel.js Alexander Wende, 2012-04-18 14:56
ExtDirect.StateProvider.js (8.64 KB) ExtDirect.StateProvider.js Alexander Wende, 2012-04-18 14:56
24884_revert.patch (6.45 KB) 24884_revert.patch Stefan Galinski, 2012-04-18 15:13

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #24884: pagetree->expand branch destroys parts of BE_USER->ucClosed2011-01-28

Actions
Related to TYPO3 Core - Bug #28687: pagetree broken due to js exceptionClosedSteffen Ritter2011-08-02

Actions
Related to TYPO3 Core - Bug #36459: Trouble with pagetree after upgrade from 4.5.14 to 4.5.15ClosedStefan Galinski2012-04-23

Actions
Related to TYPO3 Core - Bug #36456: BE User Pagetree Problem after Upload in Filelist Closed2012-04-23

Actions
Actions

Also available in: Atom PDF