Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322220 - [Sequence diagram] when created a reply message the operations of the wrong lifeline are displayed
Summary: [Sequence diagram] when created a reply message the operations of the wrong l...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Thibault Landré CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 08:02 EDT by Mathieu Velten CLA
Modified: 2010-09-14 04:41 EDT (History)
1 user (show)

See Also:


Attachments
use_case_reply (2.49 KB, image/png)
2010-09-13 07:48 EDT, Mathieu Velten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Velten CLA 2010-08-10 08:02:50 EDT
when created a reply message the operations of the wrong lifeline are displayed in the select dialog. For the creation part of the dialog the parent is also the wrong one.
Comment 1 Thibault Landré CLA 2010-08-12 05:05:26 EDT
Patch proposed by Mathieu
Comment 2 Mathieu Velten CLA 2010-09-13 07:48:48 EDT
Created attachment 178733 [details]
use_case_reply
Comment 3 Mathieu Velten CLA 2010-09-13 07:48:58 EDT
I changed back the behavior because I think the initial behavior is the correct one :
a reply message represents the return of a function, then it should use an operation from the source lifeline.
you can find attached a classic use case that was not possible to do anymore.
Comment 4 alanusse Mising name CLA 2010-09-13 11:50:37 EDT
OK this behavior is correct
Actually, the reply message must be displayed with the return value of the operation called in the initial request.
In the first implementation, you proposed to select an operation name and you displayed this name in the message.
The right behavior is to display  the return argument.
In your initial implementation only the name of the operation was displayed without any return value, so it seemed that you were trying to call an operation of the part represented by second lifeline on the part represented by first lifeline.
Comment 5 Mathieu Velten CLA 2010-09-14 04:41:26 EDT
this is already done since yesterday.
the current behavior is what you can see in the attachment.