Project

General

Profile

Actions

Bug #103461

closed

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

Added by Christian Ludwig about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #103462: Admin-only edit lock can be disabled again in v11.5Resolved2024-03-21

Actions
Actions

Also available in: Atom PDF