Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#3582 closed defect (duplicate)

redeclare model disappear when modifying a parameter...

Reported by: Arno_Epsilon <acolleoni@…> Owned by: adeas31
Priority: critical Milestone:
Component: OMEdit Version:
Keywords: replaceable Cc:

Description

I downloaded the last nightly build this morning (OpenModelica-v1.9.4-dev-525-gf0bcb4f).
I tried to modify a parameter on a component containing a replaceable model.
When i did it, the line redeclare model Medium = Medium disappeared in my test model...
What i mean is:
Before modifying the parameter L to 2, i had:
MyLib.Component pipe(redeclare model Medium = Medium, L=1) annotation...;
After, i have:
MyLib.Component pipe(L=2) annotation...;

the model Medium is not redeclared anymore, unless i rewrite the line...

Change History (6)

comment:1 Changed 9 years ago by Arno_Epsilon <acolleoni@…>

  • Component changed from *unknown* to OMEdit
  • Owner changed from somebody to adeas31

comment:2 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.5

Milestone pushed to 1.9.5

comment:3 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.5 to 1.10.0

Milestone renamed

comment:4 Changed 8 years ago by anonymous

Same fate:
ticket equivalent to Ticket 3783

Should be closed since duplication, no?

comment:5 Changed 8 years ago by adrpo

  • Resolution set to duplicate
  • Status changed from new to closed

comment:6 Changed 7 years ago by sjoelund.se

  • Milestone 1.10.0 deleted

Milestone deleted

Note: See TracTickets for help on using tickets.