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

Stack overflow error when highlighting flows with cycles #2350

Closed
philip-alldredge opened this issue Jun 3, 2020 · 0 comments
Closed

Stack overflow error when highlighting flows with cycles #2350

philip-alldredge opened this issue Jun 3, 2020 · 0 comments

Comments

@philip-alldredge
Copy link
Collaborator

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

  1. Open a diagram for top.impl in the model provided.
  2. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants