Opened 12 years ago
Closed 12 years ago
#2138 closed defect (fixed)
Problem saving models in subpackages
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | OMEdit | Version: | trunk |
Keywords: | save, package | Cc: |
Description
When I have models that are created in a subpackage the changes made to this model are not reflected in the main package but they are still shown as saved in the connection editor.
As an example I have the following structure
Main package
-Sub package
-Model
and open all of them in the connection editor. If I make a change in the model there will be a * indicating that it is not saved, i change the active window to the main package and save it (since models in packages cant be saved individually) but the changes made in the model are not shown in the main package (but are shown in the sub package) which in turn means that the changes were not actually made or saved at all. I cant run simulations with the changes and if I close the Main package and open it again the changes in the model will not be there.
This problem does not seem to happen with all packages. Restaring the connection editor will not fix the problem. Different main packages open at the same time in the connection editor will not behave in the same way (one of them will save changes while the other one doesn't). The main package I have problems with does not have any other symbols then letters from the english alphabeth in any names of packages or models.
Try the latest nightly build version. This problem is already fixed,
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
Let me know if the bug is still there.