Trouble with pagetree after upgrade from 4.5.14 to 4.5.15
After Upgrading from 4.5.14 to 4.5.15 every login the pagetree is collapsed completely.
After expanding some nodes and logging out, the state will not be saved. On next login you will again see only the root node.
When flushing the temp userdata this wokrs again, by the userprefs are all lost. This makes some trouble in an evirorement with more than 10 editors.
Updated by Stephan Brun almost 9 years ago
After Upgrading from 4.5.14 to 4.5.15 there is also a problem with the db-mountpoints inherited form a be-usergroup.
Some don't appear at all and others are not expandable.
Update: Sorry, didn't saw the answer from Stefan Galinski, will try it with the patch from #36238
Updated by Robert Wunsch almost 9 years ago
- File unserialize_-_general_PHP_functions_-_functions-online_-_Google_Chrome_2012-05-09_21-27-09.jpg unserialize_-_general_PHP_functions_-_functions-online_-_Google_Chrome_2012-05-09_21-27-09.jpg added
After having a look through the unserialized array in the uc field of be_users table i noticed the following:
This is what gets written to the object:
'Pagetree' => stdClass::__set_state(array( 'stateHash' => stdClass::__set_state(array( 'oot' => 1, '68-68' => 1, 'ba-1' => 1, '12e-1' => 1, '131-1' => 1, '14c-1' => 1, '1-1' => 1, )), )),
I guess that the line
'oot' => 1,
'*r*oot' => 1,
but I do not have a clue where the object is assembled and written.
I tested the following:
- Logged in as a normal user and the pagetree would not open
- Opened the user in the database and edited the us filed according to the info on top.
- Logged in with the user again and the pagetree opended.
I have a stron notion that the problem is related to the pagetree top element being 'oot' not 'root'.