﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1324	updateConnection API deletes the connection but doesn't update it.	Adrian Pop	Adrian Pop	"For this {{{updateConnection.mos}}} script:
{{{
createModel(A); getErrorString();
addConnection(a,b,A); getErrorString();
setConnectionComment(A,a,b,""connecting a and b""); getErrorString();
list();	getErrorString();
updateConnection(a, b, A, annotate=Line(points = {{-22.0,15.0},{32.0,15.0},{32.0,16.0}})); getErrorString();
list();	getErrorString();
}}}
we get this wrong restult; see that the connection is deleted:
{{{
adrpo@kafka ~/dev/OpenModelica/testsuite/mosfiles-nosim
$ ../../build/bin/omc updateConnection.mos           
true
""""
Ok
""""
Ok
""""
""model A

equation 
  connect(a,b) ""connecting a and b"";
end A;

""
""""
Ok
""""
""model A
end A;

""
""""
}}}"	defect	closed	high		Interactive Model Editor Interface	1.6.0	fixed		Adrian Pop Adrian Pop donida
