#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 this is a duplicate of previous tickets, but, for me, this is not sure.
In case the behaviour described in this ticket disappears when the other ones are fixed, it will be just an additional test to verify the quality of these fixes.
Otherwise, it stays there to show an additional problem.
Moreover perhaps this ticket 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