Opened 4 years ago
Last modified 3 years ago
#6360 new defect
Base model parameters disappear from GUI when edit Extended model
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
Consider to work on a model, called "Container" using diagram view in OMEdit. This model contains a model "ExtendedModel" that extends a "BaseModel".
If I modify the extended model and save, when I go back to the container model the parameters contained in the base class are no more visible in the parameters window.
They appear again only unloading and reloading again the package.
Procedure:
1) load the attached test.mo package
2) open "Container" and check that both "a" and "b" input fields are present
3) open "ExtendedModel" and change the equation "c = a+b" into "c = a*b"
4) go back to "Container" and open the parameter window for extendedModel
5) "a" input field does not appear anymore
About OMEdit:
Connected to OpenModelica v1.18.0-dev-5-g263a0e58e8 (64-bit)
Connected to OMSimulator v2.0.0.post284-gc8ec782-mingw
Attachments (2)
Change History (4)
by , 4 years ago
comment:1 by , 4 years ago
Priority: | normal → high |
---|
Thanks @Simone!
@adeas31, there are probably other similar such cases, due to cached information not being properly updated.
Package to recreate the bug