Bug 537225 - wrong target type in reconnnect tool
Summary: wrong target type in reconnnect tool
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-07-20 05:53 EDT by Yvan Lussaud CLA
Modified: 2021-05-07 03:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2018-07-20 05:53:25 EDT
create a reconnect tool
 - on relation based edge
 - that reconnect the source

the variable target is types as the relation target mapping but at runtime the value is a value of type: source of the mapping.

I think the confusion here comes from the fact that when we deals with edges the term source and target are obvious. But in this tool the source refers to the drag source of the drag and drop and target refers to the target drop of the drag and drop. This should also be stated in the documentation to limit confusion.

In a perfect world the source variable should be renamed dragSource and the target variable dropTarget.