Skip to content

ST6RI-965 PortUsage does not implement Occurrence semantic constraints - #795

Open
seidewitz wants to merge 2 commits into
masterfrom
ST6RI-965
Open

ST6RI-965 PortUsage does not implement Occurrence semantic constraints#795
seidewitz wants to merge 2 commits into
masterfrom
ST6RI-965

Conversation

@seidewitz

Copy link
Copy Markdown
Member

This PR corrects a bug in the PortUsageAdapter.

PortUsage specializes OccurrenceUsage, but PortUsageAdapter extended UsageAdapter instead of OccurrenceUsageAdapter. This meant that timeslice and snapshot were not handled correctly for port usages.

This PR corrects PortUsageAdapter to extend OccurrenceAdapter.

@seidewitz seidewitz self-assigned this Sep 5, 2026
@seidewitz seidewitz added the bug Something isn't working label Sep 5, 2026
@seidewitz seidewitz added this to the 2026-08 milestone Sep 5, 2026
@seidewitz
seidewitz requested a review from adaussy September 5, 2026 16:40

@adaussy adaussy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except from the comment on the header that is not up to date this change is fine by me.

@@ -1,3 +1,3 @@
/**
* SysML 2 Pilot Implementation
* Copyright (C) 2024-2025 Model Driven Solutions, Inc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing update header (2026)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants