mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10271: Test disabled: ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
- Added required checks for behaviour activation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2543,6 +2543,13 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
|
||||
}
|
||||
// The dictionary says propagate. Now get the parent node and prompt the touch.
|
||||
NodeRef parentNodeRef = assocRef.getParentRef();
|
||||
|
||||
// Do not propagate if the cm:auditable behaviour is off
|
||||
if (!policyBehaviourFilter.isEnabled(parentNodeRef, ContentModel.ASPECT_AUDITABLE))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Pair<Long, NodeRef> parentNodePair = getNodePairNotNull(parentNodeRef);
|
||||
Long parentNodeId = parentNodePair.getFirst();
|
||||
// If we have already modified a particular parent node in the current txn,
|
||||
|
Reference in New Issue
Block a user