diff --git a/source/java/org/alfresco/repo/tagging/TaggingServiceImpl.java b/source/java/org/alfresco/repo/tagging/TaggingServiceImpl.java index e73b82c717..d7ba15864e 100644 --- a/source/java/org/alfresco/repo/tagging/TaggingServiceImpl.java +++ b/source/java/org/alfresco/repo/tagging/TaggingServiceImpl.java @@ -406,6 +406,8 @@ public class TaggingServiceImpl implements TaggingService, } else if (afterNodeRefs != null && beforeNodeRefs != null) { + //Create a copy of the afterNodeRefs so we don't affect the properties we were given + afterNodeRefs = new ArrayList(afterNodeRefs); for (NodeRef beforeNodeRef : beforeNodeRefs) { if (afterNodeRefs.contains(beforeNodeRef) == true)