﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6299	Multiple extends does not work in GUI	Christian Kral <dr.christian.kral@…>	Adeel Asghar	"Consider the following attached example:

{{{
package Extending
  model Model1
    Modelica.Electrical.Analog.Basic.Ground ground annotation(
      Placement(visible = true, transformation(origin = {0, -30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  Modelica.Electrical.Analog.Sources.ConstantVoltage constantVoltage annotation(
      Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
  equation
    connect(constantVoltage.n, ground.p) annotation(
      Line(points = {{0, -10}, {0, -20}}, color = {0, 0, 255}));
  end Model1;

  model Model2
    extends Extending.Model1(constantVoltage.V = 10);
  equation

  end Model2;

  model Model3
    extends Extending.Model2;
  equation

  end Model3;
  annotation(
    uses(Modelica(version = ""3.2.3"")));
end Extending;
}}}

Apply the following action in the Diagram view:

1. Make a double click on the voltage model of {{{Model2}}}. Change parameter {{{V}}}. The changed parameter is stored in the model as one can check in the Text view.

2. Make a double check on the voltage model of {{{Model3}}}. Change parameter {{{V}}}. The changed parameter is **NOT** stored in the model as one can check in the Text view:

{{{
model Model3
  extends Extending.Model2;
equation

end Model3;
}}}"	defect	closed	high	1.16.2	OMEdit	v1.17.0-dev	duplicate		
