Issue Feature Closed

#86739Ask other editors for editing a locked record

Thomas Löffler 10/25/18, 08:58 updated 10/21/26, 19:03

Description

How to reproduce

  1. An editor is editing a record
  2. TYPO3 locks the record
  3. If another editor wants to edit the same record there is a message
    TYPO3_message_locked_record.jpg

This is really annoying if the other editor forgot to close the record and you need to wait worst for an hour until the record will be unlocked automatically.

What I want to have

  • A button to click in this message (or near of it) to ask the editor for closing and therefor unlock the record
  • After clicking the system sends a notification to the other editor to ask for closing the record or ignoring the message

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 2

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-21T19:03:27+00:00" > 10/21/26, 19:03 </span>

    hey,

    A lock is cleared when:
    – The same user opens another controller. EditDocumentController (line 232) and RecordListController (line 112) call BackendUtility::lockRecords() with no arguments.
    That deletes all lock rows for the current user. Opening the record list, or any edit form, drops the earlier lock. The isRecordLocked() docblock says this too: a lock
    is “abandoned when other backend scripts are activated”.
    – The user logs off. BackendUserAuthentication::releaseLockedRecords() deletes all of that user’s rows.
    – The lock expires. BackendUtility::isRecordLocked() ignores rows older than 2 hours (EXEC_TIME – 2 * 3600). Those rows are not deleted, they are just no longer treated
    as locks.
    – The install tool clears the table. ClearTableService lists sys_lockedrecords as a table the install tool can truncate.

    so it really happens often and just for one record.
    if we would have a real locking we really would need a concept how this works and how a record can be unlocked. I don’t see that concept or the need for that, therefore closing the issue.