AnsweredAssumed Answered

Disable a behaviour

Question asked by rascio on Nov 12, 2010
Latest reply on Nov 12, 2010 by rascio
Hi,
i've a problem on Alfresco Enterprise 3.1, i need to stop a Behaviour that modify a node while i'm working on it. I tried to use the BehaviourFilterImpl but it seems do nothing. I use it in this way:

BehaviourFilterImpl bfi = new BehaviourFilterImpl();
bfi.setDictionaryService(dictionaryService);
bfi.setTenantService(tenantService);
bfi.disableBehaviour(ContentModel.TYPE_CONTENT, myNodeRef);
the 'dictionaryService' and the 'tenantService' are injected by spring.
I'm doing something wrong? It is a bug? Can someone help me?

Thanks for answers….

Outcomes