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

Bug 365047

Summary: [Profile Diagram] Problem with delete of imported metaclass
Product: [Modeling] Papyrus Reporter: saadia dhouib <dhouib>
Component: DiagramAssignee: Alexey Shatilov <shatilov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander, papyrus-bugs, ronan.barrett, rschnekenburger, vincent.lorenzo
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/48212
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=83b5090045c6c603cc53ac095e3abd5029ea65e0
Whiteboard:

Description saadia dhouib CLA 2011-11-29 07:42:03 EST
Steps to reproduce:
1/ create a profile diagram
2/ create a setreotype
3/ import a metacalass
4/ create an extend link between the meta-class and the stereotype
5/ Delete the metaclass (using the menu delete from model or the shortcut Ctrl+Suppr)
6/ Try to re-import the metaclass , the metacllas is added to the  importElement list and metaclassReference list. The metaclass is not graphically added to the profile diagram.
Comment 1 Arnaud Cuccuru CLA 2013-03-13 14:33:04 EDT
Still reproducible under Kepler M5.
Comment 2 Ronan Bar CLA 2014-05-22 11:43:16 EDT
I cannot reproduce this in Luna nightly. Also the delete from model is not longer possible for such read-only elements.
Comment 3 Eclipse Genie CLA 2015-05-19 15:40:16 EDT
New Gerrit change created: https://git.eclipse.org/r/48212
Comment 5 Camille Letavernier CLA 2015-05-21 04:54:59 EDT
> Gerrit change https://git.eclipse.org/r/48212 was merged to [master].

I close the task