jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Lock token not removed when node is removed
Date Wed, 13 Feb 2008 14:18:01 GMT
Carsten Ziegeler wrote:
>> For instance, what about locks that get removed due to server-enforced 
>> timeouts, or by admin intervention?
>>
> Hmm, sorry, I can't really follow you here. I'm removing a locked node 
> and the lock token remains in the session. All you have to do is to 
> check if a locked node is removed and remove the token from the 
> manager/session.

Yes, in *that* case it's easy. But in the other cases you could still 
encounter invalid lock tokens in the session, so in any case code needs 
to be able to deal with that situation...

BR, Julian

Mime
View raw message