Actions
Bug #20932
openBackend record locking should be on session basis
Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Locking / Session Handling
Target version:
-
Start date:
2009-08-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If a user opens a record, a lock is saved in sys_lockedrecords.
The opendocs module saves document in BE session (so different browsers -> different open documents). Furthermore, opendocs doesn't update sys_lockedrecords, if a document is closed.
Attached is a part of the needed patch. As I think it's too late for 4.3, I only want to document this here.
What still has to be considered:- What should be done, if a user creates more locks on the same document? Should then at releasing one lock all other locks released or only the one of the current session? Latter would cause confusion, if e.g. a web browser crashes and then user opens the record again. The first lock would remain for 2 hours.
- Sure sth. more...
(issue imported from #M11796)
Files
Actions