Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332749

Summary: [Usability] The action Duplicate doesn't work correctly
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alain.leguennec, eclipse-bugzilla
Version: 0.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vincent Lorenzo CLA 2010-12-16 10:46:23 EST
I found 3 problems with the Action Duplicate: 
	- the action Duplicate creates 2 new instances of the selected element (instead of one!)
	- when the selected element is a UML Metaclass : 
		- only the view should be duplicated
		- the stereotype Metaclass should be applied on the new element
		
	- more generally, I think the applied stereotypes should be applied on the duplicated element
Comment 1 Patrick Tessier CLA 2011-05-23 10:19:56 EDT
new the copy paste with the model take in account stereotypes. 
done in the revision 4759.
The problem if the duplication is due to another  Bug 346875
Comment 2 Alain Le Guennec CLA 2011-08-18 12:56:03 EDT
I can still (with 0.8.X as of revision 5248) reproduce this issue,
when using the "edit->duplicate" command on a part on an IBD
(it creates two new parts, with two superposed corresponding views).
Maybe the bug should be reopened.