eclipsesource / papyrus-umllight

Eclipse Public License 2.0
4 stars 2 forks source link

[Use Case Diagram] Moving use cases inside of subjects duplicates the use cases #30

Closed planger closed 5 years ago

planger commented 5 years ago

Steps to reproduce:

Expected Result: Use case is graphically moved

Actual result: Use case is duplicated image

Note that this seems to be actually a Papyrus bug that has nothing to do with UMLLight. I'm just wondering whether we can either fix it easily in Papyrus or use a different element as a subject to work around this issue.

cdamus commented 5 years ago

It's just the view of the use case that's duplicated, not the semantics. So likely a mistake in one of the diagram's edit-policies.

cdamus commented 5 years ago

Yup, it's a problem in the UsecaseToSubjectInUsecaseDiagramDropStrategy class. I'll work up a fix in Papyrus.

cdamus commented 5 years ago

There's more to this problem besides the duplication. If you drag a use case from outside of a subject into that subject, then a view of the use case is created within the subject but it also remains outside.

cdamus commented 5 years ago

This problem was already reported in the Eclipse bugzilla: bug 535696.