Issue Bug Closed

#103461Can't switch off Admin Edit Lock of pages in Access Module of v11

Christian Ludwig 03/21/24, 19:24 updated 07/09/24, 15:38

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.

Reviews 3