mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-22056: onCopyComplete-Policy not called in order of copy-action
This commit is contained in:
committed by
Andrei Zapodeanu
parent
be2b3bbf60
commit
7e2b232ef0
@@ -30,7 +30,8 @@ import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@@ -254,8 +255,8 @@ public class CopyServiceImpl extends AbstractBaseCopyService implements CopyServ
|
||||
// Clear out any record of copied associations
|
||||
TransactionalResourceHelper.getList(KEY_POST_COPY_ASSOCS).clear();
|
||||
|
||||
// Keep track of copied children
|
||||
Map<NodeRef, NodeRef> copiesByOriginals = new HashMap<NodeRef, NodeRef>(17);
|
||||
// Keep track of copied children in order of copying
|
||||
Map<NodeRef, NodeRef> copiesByOriginals = new LinkedHashMap<NodeRef, NodeRef>(17);
|
||||
Set<NodeRef> copies = new HashSet<NodeRef>(17);
|
||||
|
||||
NodeRef copiedNodeRef = copyImpl(
|
||||
|
Reference in New Issue
Block a user