﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5704	OMEdit does not show wires after you try to connect a component itself	Andrea Bartolini	Adeel Asghar	"Steps to reproduce the issue:

1) Load and save the following model:

{{{
model Test
  Modelica.Blocks.Continuous.FirstOrder firstOrder annotation(
    Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  Modelica.Blocks.Sources.RealExpression realExpression annotation(
    Placement(visible = true, transformation(origin = {-40, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation 
end Test;
}}}

2) switch to {{{diagram view}}} and try to connect the output of the {{{realExpression}}} itself, the error is shown (see attached screenshot.png)

3) close the error pop-up and try to connect the output of the {{{realExpression}}} to the input of the {{{firstOrder}}}, the wire is not shown...

4) switch to the {{{text view}}}, the connection has been made

{{{
model Test
  Modelica.Blocks.Continuous.FirstOrder firstOrder annotation(
    Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  Modelica.Blocks.Sources.RealExpression realExpression annotation(
    Placement(visible = true, transformation(origin = {-40, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
  connect(realExpression.y, firstOrder.u) annotation(
    Line(points = {{-28, 0}, {8, 0}, {8, 0}, {8, 0}}, color = {0, 0, 127}));
end Test;
}}}

5) save the model, add a blank space in the {{{text view}}} and save again

6) switch back to the {{{diagram view}}}, now the wire is shown

Maybe this is solved by closure of the ticket {{{#5691}}}, but I cannot verify because the fix of #5691 in not yet available on the 1.14.0 beta repository

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.14.0~dev.beta2-3-gfe9cc97
Sysop Ubuntu 18.04"	defect	closed	blocker	1.14.0	OMEdit	v1.14.0-dev.beta2	fixed		Francesco Casella
