Actions
Bug #103461
closedCan't switch off Admin Edit Lock of pages in Access Module of v11
Start date:
2024-03-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Access Admin
Complexity:
easy
Is Regression:
Sprint Focus:
Description
In TYPO3 v11 it is not possible to switch off the "Admin-only" edit lock (DB field page.editlock) in the Access Module.
Doctrine throws an error:
Incorrect integer value: '' for column 'editlock' at row 1
Please change line 201 in sysext/beuser/Classes/Controller/PermissionController.php from
case 'toggle_edit_lock':
// Initialize requested lock state
$editLockState = !$conf['editLockState'];
to
case 'toggle_edit_lock':
// Initialize requested lock state
$editLockState = $conf['editLockState'] ? 0 : 1;
In TYPO3 v12 I can't reproduce this behaviour.
Actions