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

Fix ReferenceTerminals and SlackTerminal iIDM extension with merged networks and subnetworks #3076

Merged
merged 11 commits into from
Jun 21, 2024

Conversation

jeandemanged
Copy link
Member

@jeandemanged jeandemanged commented Jun 20, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

ReferenceTerminals and SlackTerminal iIDM extensions were never revisited to work properly with subnetworks.
In particular:

  • We get an exception when merging a network having a ReferenceTerminals extension, writing it, and reading it.
  • ReferenceTerminals.reset and SlackTerminal.reset do not reset the subnetworks

What is the new behavior (if this is a feature change)?
ReferenceTerminals fixed to properly check the network owning the terminal.
reset methods will also reset the subnetworks.

Does this PR introduce a breaking change or deprecate an API?

  • No

Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
@jeandemanged jeandemanged requested review from olperr1 and annetill June 20, 2024 09:12
@annetill annetill added the bug label Jun 20, 2024
jeandemanged and others added 4 commits June 20, 2024 12:50
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
@jeandemanged jeandemanged changed the title Fix ReferenceTerminals iIDM extension with merged networks and subnetworks Fix ReferenceTerminals and SlackTerminal iIDM extension with merged networks and subnetworks Jun 20, 2024
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Copy link

@olperr1 olperr1 merged commit 6401496 into main Jun 21, 2024
7 checks passed
@olperr1 olperr1 deleted the fix-referenceterminals-subnetwork branch June 21, 2024 06:07
olperr1 pushed a commit that referenced this pull request Jun 24, 2024
…etworks and subnetworks (#3076)

* Fix ReferenceTerminals and SlackTerminal iIDM extension with merged networks and subnetworks

Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
(cherry picked from commit 6401496)
geofjamg pushed a commit that referenced this pull request Sep 18, 2024
…etworks and subnetworks (#3076)

* Fix ReferenceTerminals and SlackTerminal iIDM extension with merged networks and subnetworks

Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants