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

bugfix: Create virtual IED does not consider multiple instances of a LNType within a function #1595

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

illia-solovei-s1
Copy link

@illia-solovei-s1 illia-solovei-s1 commented Nov 15, 2024

The bug is described here: #1567
Description
When the user assigns multiple instances of a same LNType (even though instance numbers/prefixes are different) to a Function element, they are visualized just as normal with no problem like below;
image
Next, user creates a Virtual IED out of Functions which should turn out to LDs including those LNs within; (expected)
image
But at the end, it turns out to only last or first LN is included in the datamodel, and others are ignored.

Expected behaviour

  • Expectation is all LNs are part of the datamodel of virtual IED, allocated under LD that is the name of Function element

Current problem:
image

@illia-solovei-s1 illia-solovei-s1 marked this pull request as ready for review November 19, 2024 14:28

Choose a reason for hiding this comment

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

Have you done these changes by hand ? I think these snapshots are generated by a tool (not sure tho).

Choose a reason for hiding this comment

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

I got confirmation by Christopher : these are generated.

Copy link
Contributor

@salvar3nga salvar3nga left a comment

Choose a reason for hiding this comment

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

Looks good to me and all tests seem to pass as well

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.

3 participants