[TYPO3-dev] #10730: Record Locking leaves Records locked on Logout

Steffen Ritter info at rs-websystems.de
Mon Aug 24 13:48:09 CEST 2009


Stefan Geith schrieb:
> Stefan Geith schrieb:
>> ...
>> But there is one bug:
>> If you click the [logout]-button the actual open record remains locked.
>> After a relogin this record doesn't exist in the opendocs-list, but it 
>> is still locked (you can't see this, but other BEusers have this 
>> record marked with an exclamation mark).
> 
> Isn't there anyone, who can confirm this ?
> 
> Any hints, on where to search for this problem in the core files ?
> 
> 
> /Stefan

Look at the logout functionality. Opened records are stored in session 
afaik. the warnings for lockings are stored in a table...
Session is destroyed, table not cleared.
Locking deletes records if they are older than xy... You might have a 
look at the source there.
If you wanna change this behavoiur you should extends the logout 
procedure, with clearing the lock table.
But what if, there are two users within the same username logged in from 
different places?

regards




More information about the TYPO3-dev mailing list