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

ST6RI-793 Transition source cannot be a feature chain #590

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

seidewitz
Copy link
Member

As reported in OMG issue SYSML2_-222, the derivations of the TransitionUsage::source and target properties given in the specification currently do not support the use of feature chains as the source or target of a transition. However, the derivation for TransitionUsage::target as implemented in the Pilot Implementation does already allow the use of feature chains as transition targets. Unfortunately, the implemented derivation of TransitionUsage::source did not allow feature chains to be used as transition sources, which was inconsistent.

This PR:

  • Updates the implementated derivation of TransitionUsage::source so that it also consistently allows feature chains, presupposing the eventual resolution of SYSML2_-222.
  • Updates the selection of the member action usage of the Transition from which the source is derived, to skip possible owned members that are features (like metadata usages) but are not action usages.

- Also revised the selection of the owned member used to determine the
transition source, to avoid selecting an initial MetadataUsage.
@seidewitz seidewitz self-assigned this Sep 6, 2024
@seidewitz seidewitz added this to the 2024-08 milestone Sep 6, 2024
@seidewitz seidewitz merged commit 017e0ba into master Sep 6, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant