Summary
A stack overflow error can be generated when attempting to highlight a flow which contains a cycle. Such flows would likely be invalid but the graphical editor should gracefully handle the error to allow the editor to be useable.
Expected and Current Behavior
The graphical editor should gracefully handle the flow. It currently generates a stack overflow error.
Steps to Reproduce
- Open a diagram for
top.impl in the model provided.
- Select the flow for highlighting.
package a
public
system top
features
i1: in data port;
flows
f1: flow sink i1;
end top;
system implementation top.impl
subcomponents
ss1: system subsystem;
connections
c1: port i1 -> ss1.ii1;
flows
f1: flow sink i1 -> c1 -> f1;
end top.impl;
system subsystem
features
ii1: in data port;
end subsystem;
end a;
Environment
- OSATE Version: Nightly
- Operating System: All
Summary
A stack overflow error can be generated when attempting to highlight a flow which contains a cycle. Such flows would likely be invalid but the graphical editor should gracefully handle the error to allow the editor to be useable.
Expected and Current Behavior
The graphical editor should gracefully handle the flow. It currently generates a stack overflow error.
Steps to Reproduce
top.implin the model provided.Environment