|  | @@ -894,21 +894,21 @@ class ContentApi(object):
 | 
	
		
			
			| 894 | 894 |  
 | 
	
		
			
			| 895 | 895 |          content = item.copy(parent)
 | 
	
		
			
			| 896 | 896 |          # INFO - GM - 15-03-2018 - add "copy" revision
 | 
	
		
			
			| 897 |  | -        content.new_revision()
 | 
	
		
			
			| 898 |  | -        content.parent = parent
 | 
	
		
			
			| 899 |  | -        content.workspace = workspace
 | 
	
		
			
			| 900 |  | -        content.label = label
 | 
	
		
			
			| 901 |  | -        content.revision_type = ActionDescription.COPY
 | 
	
		
			
			| 902 |  | -        content.properties['origin'] = {
 | 
	
		
			
			| 903 |  | -            'content': item.id,
 | 
	
		
			
			| 904 |  | -            'revision': item.last_revision.revision_id,
 | 
	
		
			
			| 905 |  | -        }
 | 
	
		
			
			|  | 897 | +        with new_revision(content, force_create_new_revision=True) as rev:
 | 
	
		
			
			|  | 898 | +            rev.parent = parent
 | 
	
		
			
			|  | 899 | +            rev.workspace = workspace
 | 
	
		
			
			|  | 900 | +            rev.label = label
 | 
	
		
			
			|  | 901 | +            rev.revision_type = ActionDescription.COPY
 | 
	
		
			
			|  | 902 | +            rev.properties['origin'] = {
 | 
	
		
			
			|  | 903 | +                'content': item.id,
 | 
	
		
			
			|  | 904 | +                'revision': item.last_revision.revision_id,
 | 
	
		
			
			|  | 905 | +            }
 | 
	
		
			
			| 906 | 906 |          if do_save:
 | 
	
		
			
			| 907 | 907 |              self.save(content, ActionDescription.COPY, do_notify=do_notify)
 | 
	
		
			
			| 908 | 908 |          return content
 | 
	
		
			
			| 909 | 909 |  
 | 
	
		
			
			| 910 | 910 |      def copy_children(self, origin_content: Content, new_content: Content):
 | 
	
		
			
			| 911 |  | -        for child in origin_content.children:
 | 
	
		
			
			|  | 911 | +       for child in origin_content.children:
 | 
	
		
			
			| 912 | 912 |              self.copy(child, new_content)
 | 
	
		
			
			| 913 | 913 |  
 | 
	
		
			
			| 914 | 914 |      def move_recursively(self, item: Content,
 |