Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332749 - [Usability] The action Duplicate doesn't work correctly
Summary: [Usability] The action Duplicate doesn't work correctly
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 10:46 EST by Vincent Lorenzo CLA
Modified: 2011-08-18 12:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.