Bug #66970
closedPagetree crashes after editing Page Properties
0%
Description
After editing Page Properties and saving the pagetree is not showing anymore. only Reload of the Page can fix it.
I get the following Error in error.log:
Call to a member function set() on a non-object in .../typo3_src/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php on line 370
Without investigating to much i found a Change from Version 6.2.x to 7.3-dev in Line 347 of ExtdirectTreeCommands.php
6.2.x (line 348):
$userSettings = GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\User\\ExtDirect\\BackendUserSettingsDataProvider');
7.3-dev (line 347):
$userSettingsController = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\UserSettingsController::class);
in both Versions in line 370:
$userSettings->set('BackendComponents.States.' . $stateId, $state);
The new $userSettingsController imho needs this line:
$userSettingsController->process('set','BackendComponents.States.' . $stateId, $state);
I changed this line and this fixed it for me.
Updated by Andreas Kienast over 9 years ago
- Status changed from New to Needs Feedback
It seems you're not on the latest master. This bug is fixed already: https://git.typo3.org/Packages/TYPO3.CMS.git/commit/9c62b598fcdbeb454159125106e550b93a395907
Updated by Wouter Wolters over 9 years ago
- Status changed from Needs Feedback to Closed
Thanks for reporting. This is solved in master already. Please update your installation.