Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic creation of a reply message should not always target the lifeline body #421

Open
rschnekenbu opened this issue Nov 19, 2018 · 0 comments
Assignees

Comments

@rschnekenbu
Copy link
Collaborator

When a sync message is created, the tool may also create an execution and a reply message. This reply message must target the original element from which the sync message is starting.

In PR #410, an issue was identified when the sync message is going out of an execution:
screen shot 2018-11-15 at 13 59 56

The fix should probably be located there: org.eclipse.papyrus.uml.interaction.internal.model.commands.InsertMessageCommand.createAutomaticReplyMessageCommands(Supplier, Supplier, Supplier, IntSupplier, IntSupplier) at line 660:

Shape receiverShape = diagramHelper().getLifelineBodyShape(getTarget().getDiagramView().get());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant