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

Bug 317955

Summary: [ClassDiagram] Association - outline and diagram not consistent - when moving a group of connected elements within or outside a package
Product: [Modeling] Papyrus Reporter: alanusse Mising name <agnes.lanusse>
Component: DiagramAssignee: Alexey Shatilov <shatilov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander, cletavernier, papyrus-bugs, Patrick.Tessier, shatilov, tischenko
Version: 1.0.0Keywords: consistency
Target Milestone: SR2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Bug description and screen views none

Description alanusse Mising name CLA 2010-06-25 07:59:40 EDT
[ClassDiagram]  Association - outline and diagram not consistent - when moving a group of connected elements within or outside a package.

Context : Inconsistency between model and diagram when moving a group of elements connected by an association inside/outside a container (Package). 
The association doesn't follow within the outline (move works in the diagram) ==> 

This is a general problem (not only association link, and not only class diagram).

Reproducible: Always

Steps to Reproduce:
1. Create two classes
2. Connect these classes with an association
3. Create a package
4. Select the 2 classes and the association
5. Move the group of selected elements within the package

Result : graphically everything is OK; but in the outline , only classes have been moved inside the package.
(See attachment)
Remark: 
If we do the same operations, but create everything within the package and move the group outside, the classes are moved but the association stays within the package.
Comment 1 alanusse Mising name CLA 2010-06-25 08:04:24 EDT
Created attachment 172738 [details]
Bug description and screen views
Comment 2 Michael Golubev CLA 2014-11-04 05:44:09 EST
https://git.eclipse.org/r/#/c/35361/
https://git.eclipse.org/r/#/c/35759/

this 2 gerrits has to be combined together in order to produce the single correct one (second create accidentally instead of amending the first)
Comment 3 Michael Golubev CLA 2014-11-04 05:44:38 EST
The correct gerrit is to be produced shortly
Comment 4 Michael Golubev CLA 2015-01-13 18:19:02 EST
Sorry, missed this bugzilla for a long time, the fresh rebased gerrits are available at https://git.eclipse.org/r/#/c/39532/
Comment 5 Alexey Shatilov CLA 2015-02-03 03:48:40 EST
1.0-maintenance gerrit contribution:
https://git.eclipse.org/r/#/c/40238/
(merged)
Comment 6 Camille Letavernier CLA 2015-02-25 05:15:20 EST
The contributions have been merged; I close the task