Opened 9 years ago
Closed 9 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 )
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 , 9 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 9 years ago
| Milestone: | Future → 1.12.0 |
|---|
comment:3 by , 9 years ago
| Milestone: | 1.12.0 → 1.11.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:4 by , 9 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 , 9 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:6 by , 9 years ago
| Milestone: | 1.11.0 → 1.12.0 |
|---|
comment:8 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |

Fixed in a314999/OMEdit.