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

Bug 316980

Summary: [Profile diagram] Extensions cannot be re-target to another meta-class (or another visual representation of the same meta-class)
Product: [Modeling] Papyrus Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Patrick.Tessier
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Ansgar Radermacher CLA 2010-06-15 17:14:38 EDT
Build Identifier: 

Assume that you have two stereotypes that extend the same meta-class. The user might want to have two representations of this meta-class in his diagram. However, the extension will always point at the first representation and cannot be re-directed.


Reproducible: Always

Steps to Reproduce:
1. Create two stereotypes
2. Add the same meta-class twice to your diagram
3. Let the two stereotype extend the meta-class (but visually point at different representants.
=> Extension points to one of these representants
Comment 1 Ansgar Radermacher CLA 2010-06-16 05:21:21 EDT
(In reply to comment #0)
> Build Identifier: 
> 
> Assume that you have two stereotypes that extend the same meta-class. The user
> might want to have two representations of this meta-class in his diagram.
> However, the extension will always point at the first representation and cannot
> be re-directed.
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Create two stereotypes
> 2. Add the same meta-class twice to your diagram
> 3. Let the two stereotype extend the meta-class (but visually point at
> different representants.
> => Extension points to one of these representants

Small correction/precision: creating the initial extension works well. It is just not possible to redirect the extension to another representation of the same meta-class (which is in particular problematic, if I need to reconstruct a diagram from the model)
Comment 2 Ansgar Radermacher CLA 2010-06-18 04:52:18 EDT
(In reply to comment #1)
> (In reply to comment #0)
> > Build Identifier: 
> > 
> > Assume that you have two stereotypes that extend the same meta-class. The user
> > might want to have two representations of this meta-class in his diagram.
> > However, the extension will always point at the first representation and cannot
> > be re-directed.
> > 
> > 
> > Reproducible: Always
> > 
> > Steps to Reproduce:
> > 1. Create two stereotypes
> > 2. Add the same meta-class twice to your diagram
> > 3. Let the two stereotype extend the meta-class (but visually point at
> > different representants.
> > => Extension points to one of these representants
> 
> Small correction/precision: creating the initial extension works well. It is
> just not possible to redirect the extension to another representation of the
> same meta-class (which is in particular problematic, if I need to reconstruct a
> diagram from the model)

Correction: The bug is a general problem of re-targeting extensions, i.e. it is also not possible to retarget to another meta-class
Comment 3 Vincent Lorenzo CLA 2010-06-29 04:50:47 EDT
Done in r2102