Opened 10 years ago
Last modified 10 years ago
#3260 closed defect
OMEdit has issues when saving single-file packages — at Initial Version
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.3 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
Consider the attached TestSave package. It contains just two models, named RLC and RLD.
A way to male a different copy of it, to work with, I think, is to use the context command "Copy", leaving blank the path field. Let is be "TestCopy"
Once this is done one can see the full code of the copied package, but does not see the "+" sign on the package icon in the Libraries Browser that normally indicates that it contains models.
So, the only way to gain access to models seems to be through the text view.
The worst things occur when one wants to save this copied package on disk.
I did: Save, then Unload, then Load TestCopy
What I got is an empty package: i.e. the two models RLC and RLD are not there!
I made my tests on r24813.
Change History (4)
by , 10 years ago
Attachment: | TestSave.mo added |
---|
by , 10 years ago
Attachment: | TestCopy.mo added |
---|
by , 10 years ago
Attachment: | TestSave.2.mo added |
---|
by , 10 years ago
Attachment: | TestSave.3.mo added |
---|