Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3635 closed defect (fixed)

New model faulty and not saved; package sometimes destroyed

Reported by: ceraolo Owned by: adeas31
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)

test0.mo (5.0 KB) - added by ceraolo 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by ceraolo

comment:1 Changed 9 years ago by dersh

This sounds similar to, and is likely a duplicate of these tickets 3624 and 3634

comment:2 Changed 9 years ago by ceraolo

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)

Last edited 9 years ago by ceraolo (previous) (diff)

comment:3 Changed 8 years ago by casella

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 8 years ago by sjoelund.se

Fixed (duplicate of #3642)

comment:5 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:6 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.