AnsweredAssumed Answered

oncreatenode behavior and authorityContainer

Question asked by mrksjs on Aug 9, 2013
Hello,

i have implemented a simple behavior that is listening on the creation of an auhtorityContainer,

policyComponent.bindClassBehaviour(
           QName.createQName(NamespaceService.ALFRESCO_URI, "onCreateNode"),
           QName.createQName("http://www.alfresco.org/model/content/1.0", "authorityContainer"), 
           onCreateNode);


it works. however, when i create a new group in share/admin console i see from my log output that the behavior is not called one but 15 times.

first question: why? (important)
second question: can i somehow distinguish/narrow down the call to one time? maybe there is a better policy for this case. (more important)


well, it turned out that all is good after a restart of alfresco … behavior is now only called once. thanks

Outcomes