mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Finally resolved "AR-401 Can only have one policy handler". Multiple handlers may now be registered.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8698 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -139,7 +139,7 @@ import org.alfresco.service.namespace.QName;
|
||||
if (isEnabled)
|
||||
{
|
||||
// Find class behaviour by scanning up the class hierarchy
|
||||
BehaviourDefinition behaviour = null;
|
||||
List<BehaviourDefinition<B>> behaviour = null;
|
||||
while(behaviour == null && binding != null)
|
||||
{
|
||||
behaviour = classMap.get(binding);
|
||||
@@ -150,7 +150,7 @@ import org.alfresco.service.namespace.QName;
|
||||
}
|
||||
if (behaviour != null)
|
||||
{
|
||||
behaviours.add(behaviour);
|
||||
behaviours.addAll(behaviour);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user