﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3158	OMEdit parameter window shows wrong values for base classes	Rüdiger Franke	Adeel Asghar	"The example below parameterizes a model with a data record. OMEdit shows wrong values in the parameter window.

Open ParameterRecordDialog.Test in OMEdit (r24573) and double click on the record r3. The parameters window will show the wrong a=1. The model translates and simulates with the correct value a=3.

{{{
package ParameterRecordDialog
  record R1
    extends Modelica.Icons.Record;
    parameter Real a = 1;
  end R1;

  record R2
    extends R1;
    parameter Real b = 2;
  end R2;

  record R3
    extends R2(a = 3, b = 4);
  end R3;

  model Test
    ParameterRecordDialog.R3 r3
      annotation(Placement(visible = true, transformation(origin = {-68, 72}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
    annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
  end Test;
end ParameterRecordDialog;
}}}
"	defect	closed	high	1.9.4	OMEdit	trunk	fixed		
