Component connection compositor allows connections in the wrong direction
When editing a hierarchical component, the compositor allows not just connections from the output port of an inner component to the output port of the parent component, but also the other way around. See the attached screenshot.
In the old editor in 2.16 it was possible to these ports only in one direction, as expected. Apparently, the old editor has a notion of target in the ui part, so that making a wrong connection was prevented by the ui.Steps to reproduce:
- Create a component with one input and one output port.
- Open the component and inside it create an inner component, also with an input and an output port.
Expected behaviour: It should be possible to connect from the output port of the inner component to the output port of the parent component, but not vice versa.
Actual behaviour: It is possible to connect the output port of the inner component and the output port of the parent component in both directions.
#1 Updated by Ulrich Schöpp 5 months ago
Proposed MR: https://git.fortiss.org/af3/af3/-/merge_requests/324