This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 342224 - [Diagram] Selecting associations for instance diagrams is ignored
Summary: [Diagram] Selecting associations for instance diagrams is ignored
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Diagrams (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 17:30 EDT by Navid Mehregani CLA
Modified: 2011-04-18 15:18 EDT (History)
2 users (show)

See Also:


Attachments
TS-342224.txt (1.27 KB, text/plain)
2011-04-17 11:49 EDT, Valentin Yerastov CLA
no flags Details

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