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

Default behavior of Interface.connectIO causes multiple input/output module connections per port #38

Closed
mkorbel1 opened this issue Nov 4, 2021 · 0 comments · Fixed by #58
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mkorbel1
Copy link
Contributor

mkorbel1 commented Nov 4, 2021

Describe the bug
Default behavior for Interface.connectIO passes inputTags and outputTags as optionally null directly to getPorts , which then returns all ports.

To Reproduce
Call connectIO with no inputTags nor outputTags on an Interface which has at least one port.

Expected behavior
If no tags are provided, it should not connect anything. Maybe should throw an exception if neither is provided?

Actual behavior
Exception "Already defined a port with name..."

@mkorbel1 mkorbel1 added bug Something isn't working good first issue Good for newcomers labels Nov 4, 2021
mkorbel1 added a commit to mkorbel1/rohd that referenced this issue Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant