Community
Participate
Working Groups
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.
Patch proposed by Mathieu
Created attachment 178733 [details] use_case_reply
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.
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.
this is already done since yesterday. the current behavior is what you can see in the attachment.