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

philip-alldredge commented Jun 3, 2020

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
@philip-alldredge philip-alldredge added this to Increment 3 - 2020-08-28 in Graphical Editor Enhancements Jun 3, 2020
@philip-alldredge philip-alldredge moved this from Increment 3 - 2020-08-28 to Other in Graphical Editor Enhancements Jun 3, 2020
@philip-alldredge philip-alldredge moved this from Other to Increment 4 - 2021-05-27 in Graphical Editor Enhancements Jul 21, 2020
@philip-alldredge philip-alldredge moved this from Increment 4 - 2021-05-27 to Increment 3 - 2020-11-28 in Graphical Editor Enhancements Jul 21, 2020
@philip-alldredge philip-alldredge added this to the 2.9.0 milestone Jul 21, 2020
Graphical Editor Enhancements automation moved this from Increment 3 - 2020-11-28 to Done Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants