Opened 8 years ago

Closed 8 years ago

#4218 closed defect (fixed)

Omedit changes modifiers in string when the parameters pop-up window is used

Reported by: Andrea Bartolini Owned by: Adeel Asghar
Priority: blocker Milestone: 1.12.0
Component: OMEdit Version: v1.12.0
Keywords: Cc:

Description (last modified by Andrea Bartolini)

To reproduce the bug:

1) create a new model

2) put into the model an MSL source block, e.g. a RealExpression,

3) write the expression using the parameters pop-up window, e.g. time + 1

now the model appears as below:

model test
  Modelica.Blocks.Sources.RealExpression realExpression1(y = time + 1)  annotation( ...);
end test;

4) change the expression from the parameters pop-up window, e.g. time + 2, Omedit changes it in a string !!!

model test
  Modelica.Blocks.Sources.RealExpression realExpression1(y = "time + 2")  annotation( ...);
end test;

OMEdit 1.12.0~dev-104-g72c7018
Connected to OpenModelica 1.12.0~dev-222-g56170d9

sysop linux Ubuntu 14.04

Change History (8)

comment:1 by Andrea Bartolini, 8 years ago

Description: modified (diff)

comment:2 by Francesco Casella, 8 years ago

Milestone: Future1.12.0

comment:3 by Adeel Asghar, 8 years ago

Milestone: 1.12.01.11.0
Resolution: fixed
Status: newclosed

Fixed in a314999/OMEdit.

comment:4 by Andrea Bartolini, 8 years ago

Tested with nightly built:
OMEdit 1.12.0~dev-125-gf11690d
Connected to OpenModelica 1.12.0~dev-234-gb3e1f41

sysop linux Ubuntu 14.04

The problem is still present

comment:5 by Andrea Bartolini, 8 years ago

Resolution: fixed
Status: closedreopened

comment:6 by Andrea Bartolini, 8 years ago

Milestone: 1.11.01.12.0

comment:7 by Adeel Asghar, 8 years ago

f11690d is old. You need 0ee4ed0.

comment:8 by Andrea Bartolini, 8 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.