﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6128	OMEdit deletes the redeclare clause when a parameter value is changed	Andrea Bartolini	Adeel Asghar	"Steps to reproduce the issue:
1) open the attached package  {{{TestReplaceable.mo}}}
2) open model S1, it appears as follows:
{{{
model S1
  TestReplaceable.M m(
    redeclare model RM = TestReplaceable.RM1,
    p = 5)  annotation(
    Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
end S1;
}}}

3) double click to model M and change the p value (e.g. to 6), the models S1 now appears as follows:
{{{
model S1
  TestReplaceable.M m(
    p = 6)  annotation(
    Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
end S1;
}}}

The redeclare clause has been deleted...

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-640-g99a56f3
Sysop: Ubuntu 18.04"	defect	closed	blocker	1.16.0	OMEdit	v1.16.0-dev	fixed		Francesco Casella
