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

Conflict between Node and SubTree names #827

Closed
OPerepadia opened this issue May 21, 2024 · 1 comment
Closed

Conflict between Node and SubTree names #827

OPerepadia opened this issue May 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@OPerepadia
Copy link
Contributor

Describe the bug

If there is a node and a SubTree with same name, and the SubTree has some ports defined using TreeNodesModel, when trying to call the subtree it would throw the following error:

a port with name [param1] is found in the XML, but not in the providedPorts()

The error goes away if I rename the SubTree. I understand that having a same name is not recommended, but I just wanted to let you know that this bug appeared recently, it was not the case before.

@facontidavide
Copy link
Collaborator

facontidavide commented May 21, 2024

You must not have a Node and Subtree with the same name. The real "bug" is allowing it, and I must prevent it

@facontidavide facontidavide self-assigned this May 21, 2024
@facontidavide facontidavide added the bug Something isn't working label May 21, 2024
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

No branches or pull requests

2 participants