Issue Bug Closed

#36238Pagetree lost for non admin after upgrading to 4.5.15

Anonymous 04/17/12, 17:30 updated 05/22/12, 11:48

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.