Opened 10 years ago

Closed 8 years ago

Last modified 7 years ago

#3143 closed defect (duplicate)

Parameter modification bug

Reported by: anonymous Owned by: Adeel Asghar
Priority: critical Milestone:
Component: OMEdit Version: trunk
Keywords: Parameter Cc:

Description

One bug identified in version 1.9.2 beta1 up until r24481:
When modifying a parameter in the window opened by clicking on a component, the modification is not implemented in the model, as well as in the code view of the model.

Attachments (1)

testbug.mo (516 bytes ) - added by Arno_Epsilon <acolleoni@…> 10 years ago.
Test case

Download all attachments as: .zip

Change History (14)

comment:1 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:2 by Adeel Asghar, 10 years ago

Can you provide a test case? I can successfully modify a parameter.

by Arno_Epsilon <acolleoni@…>, 10 years ago

Attachment: testbug.mo added

Test case

comment:3 by Arno_Epsilon <acolleoni@…>, 10 years ago

The problem is in fat quite specific to having a redeclare in the component.

In the provided test case, i can only modify parameters for "pipe1", not for "pipe". The only difference is that in "pipe" that there is a "redeclare package".

in reply to:  3 comment:4 by Arno_Epsilon <acolleoni@…>, 9 years ago

No update on the subject? it is very painful to have to write the parameters directly in the code...

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:6 by Dietmar Winkler, 9 years ago

I've just tested the testbug.mo model and I could modify the parameter without problem on both models. But then again there is no "redeclare" present in any of the pipe models. So I'm not sure if this test model is good enough to test the reported bug.

in reply to:  6 comment:7 by Arno_Epsilon <acolleoni@…>, 9 years ago

Replying to dietmarw:

I've just tested the testbug.mo model and I could modify the parameter without problem on both models. But then again there is no "redeclare" present in any of the pipe models. So I'm not sure if this test model is good enough to test the reported bug.

I just tested it and have the same bug again and here is the procedure to reproduce it:
1- View in the text part that line 2 there is a "redeclare package Medium = Medium"
2- Modify the parameter nParallel of "Pipe" to 2
3- In the text part, on line 2 the "redeclare package Medium = Medium" disappeared

comment:8 by Dietmar Winkler, 9 years ago

Ah yes. That I can confirm.

comment:9 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:10 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:11 by anonymous, 9 years ago

ticket equivalent to Ticket 3783

Should be closed since duplication, no?

comment:12 by Francesco Casella, 8 years ago

Resolution: duplicate
Status: newclosed

comment:13 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.