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

Bug 342224

Summary: [Diagram] Selecting associations for instance diagrams is ignored
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: DiagramsAssignee: Project Inbox <tigerstripe.diagram-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chrhartl, yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
TS-342224.txt none

Description Navid Mehregani CLA 2011-04-07 17:30:42 EDT
Build Identifier: 

When adding artifacts to an instance diagram, the user may be presented with a dialog with the list of associations to select.  Selecting a single association results in all associations being added to the diagram.

Reproducible: Always

Steps to Reproduce:
1. Create a TS Project with two Entities: E1 and E2
2. Create a class diagram and create two associations between E1 and E2
3. Create an instance diagram 
4. Drag and drop E1 onto the instance diagram: call it e1
5. Right click on e1 and select 'Add Related Instances'
6. Select E2 artifact > call it e2
7. On the Instance Edit dialog > Select Associations > select one of the associations > click on OK

Notice that both associations are added to the instance diagram.  Only the selected association should have been added to the diagram.
Comment 1 Valentin Yerastov CLA 2011-04-17 11:49:42 EDT
Created attachment 193436 [details]
TS-342224.txt

Done.
Comment 2 Yuri Strot CLA 2011-04-18 03:04:30 EDT
Valentin's patch applied.
Comment 3 Navid Mehregani CLA 2011-04-18 15:14:27 EDT
Verified. Thanks!
Comment 4 Navid Mehregani CLA 2011-04-18 15:18:55 EDT
Closing.