#3635 closed defect (fixed)
New model faulty and not saved; package sometimes destroyed
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
Consider the attached package "Test0".
1) open it in OMEdit
2) right-click on "Test0" and select "new Modelica Class". Give the class name "M" and leave everything other as prompted. The model appearance in text mode appears faulty (no text).
3) save the package.
At this point the package does not contain "M", as can be verified with any text editor.
There must be a variation of this procedure that causes the entire package to be destroyed (zero-byte file). It has happened to me sometimes, but I cannot say an exact procedure to replicate this.
Tested with OpenModelica v1.9.4-dev-667-g37ad4ee
Attachments (1)
Change History (7)
by , 9 years ago
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Maybe.
For me there are some differences.
I posted this in the hope that it could be a further test to verify the quality of fixes that, if I understand well, will be made starting from next week on tickets opened after recent OMEdit modifications.
Moreover maybe it can suggest why in certain cases (similar to one in the procedure proposed here) the .mo file is suddenly zeroed (i.e. transformed in a zero-byte file)
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This sounds similar to, and is likely a duplicate of these tickets 3624 and 3634