mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Node cache changes (step): aspects are cached using the node's ID-VERSION key
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31178 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2326,6 +2326,9 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
|
||||
}
|
||||
ChildAssociationRef oldParentAssocRef = oldParentAssocPair.getSecond();
|
||||
|
||||
// Get the aspects for later use
|
||||
Set<QName> nodeToMoveAspectQNames = nodeDAO.getNodeAspects(nodeToMoveId);
|
||||
|
||||
boolean movingStore = !oldStoreRef.equals(newStoreRef);
|
||||
|
||||
// Invoke "Before"policy behaviour
|
||||
@@ -2375,7 +2378,6 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
|
||||
propagateTimeStamps(oldParentAssocRef);
|
||||
propagateTimeStamps(newParentAssocRef);
|
||||
|
||||
Set<QName> nodeToMoveAspectQNames = nodeDAO.getNodeAspects(nodeToMoveId);
|
||||
// The Node changes NodeRefs, so this is really the deletion of the old node and creation
|
||||
// of a node in a new store as far as the clients are concerned.
|
||||
invokeOnDeleteNode(oldParentAssocRef, nodeToMoveTypeQName, nodeToMoveAspectQNames, true);
|
||||
|
Reference in New Issue
Block a user