cancel
Showing results for 
Search instead for 
Did you mean: 

How to turn off content locks?

shmoula
Champ in-the-making
Champ in-the-making
Hi,
  simple question: is it possible to configure turn content locking off? Or do I have to reimplement AVMLockingService?

Thanks in advance
2 REPLIES 2

shmoula
Champ in-the-making
Champ in-the-making
OK, I think i've got the solution: to put advice on AVMLockingService. I'm playing with lock and modifyLock methods as targets of my advisor. Still no results, but I think this is the way :-).

A question: is AVMLockingService really responsible for locking on AVM? I'm covering four methods with my advisor: lock, modifyLock, removeLock and removeLocks. remove* works fine - interceptor is called, but that's not happening in (supposed) case of lock and modifyLock.

shmoula
Champ in-the-making
Champ in-the-making
I moved forward a little bit: I tried to put advisor on AVMLockingAwareService's create file, but nothing happend when CopyToWP rule was triggered. Why? Because CrossRepositoryCopyService doesn't use AVLService proxy, but avmLockingAwareService bean itself. Grrrr!!!