Community
Participate
Working Groups
Created attachment 265125 [details] snapshot Transition kind is set to external by default but in some situation external does not make sense. For example, transition from entry point of composite state to a sub-state should be set to local by default. See snapshot.
Since the work with the transition tool have not started yet, I suggest that the work of ensuring the correct kind of transition to be part of Bug 494284 which is used for tracking the work needed for the transition tool. Either close this one and add a comment about it on that Bugzilla. Or make this Bugzilla block Bug 494284. Please see the enumerated list of valid kinds of transitions in Bug 494284 Comment 0 and what kind they should be assigned, i.e external or local. Keep in mind that the creation of internal transitions are handled completely different and are tracked by Bug 494287.
New Gerrit change created: https://git.eclipse.org/r/84996
Gerrit change https://git.eclipse.org/r/84996 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=73fdfda5d4e129d877772e8b3bb622b8169282d8
I've tested the latest Papyrus-RT build and the transition kind seem to be set correctly now, at least for the cases of external vs. local (since internal shall be handled rather differently) according to what is enumerated in Bug 494284 Comment 0. There are some inconsistent cases though with respect to the how the radio buttons of the kind property in the properties view is enabled/disabled, but I guess that should be handled within the scope of Bug 494291. I will provide more detailed comments there instead.
New Gerrit change created: https://git.eclipse.org/r/85519
Gerrit change https://git.eclipse.org/r/85519 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=5ea2f34498756e99b5b12ec948270aca6bce2621
New Gerrit change created: https://git.eclipse.org/r/85707
Gerrit change https://git.eclipse.org/r/85707 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=3435de0374e51dfe7789dd01b1f2310459e5dde7
I tested this in the latest Papyrus-RT build. It is a bit hard to test since we don't have Bug 494284 in place. From what I can see the case with a self-transition on the inside of a composite state, which should be a local self-transition, becomes external. Only self-transitions drawn on the outside of a composite state should be external. The rendering of the transition also i very confusing, since the transition gets drawn outside of the frame of the composite state. It is more natural that it is drawn inside the frame to indicate that it is local. This also how the legacy tooling behaves. So I am not sure what to do with this bug, and what the scope of it actually was (if it was limited to single case of a local transition to a sub-state of a composite state).
Verified to be fixed in the latest Papyrus-RT build. The transition kind are now set correctly in all cases as identified in Bug 494284. Putting into verified fixed, and Young-Soo (or Charles) can close, or reopen if needed.
Closing the bug