Opened 10 years ago

Closed 10 years ago

#3013 closed defect (invalid)

OMEdit saves modified user's files at every run

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: critical Milestone: 1.9.2
Component: OMEdit Version: trunk
Keywords: Cc:

Description

OMEdit saves modified files at every run.

If you've made a mistake on a model and you run that model, you find in extreme difficulty: no undo available, erroneous file on disk!
To avoid this, today, whenever you make modifications you've to manually backup your file(s). This is tricky and error-prone.

I think that OMEdit should not save user's files on disk by its own decision. If it needs a copy of the user's file(s) on disk to compile and execute, it should operate on temporary files it creates, without modifying user's.

Tested on r23607

Change History (3)

comment:1 by Adeel Asghar, 10 years ago

OMEdit does this because you have Save class before simulation option checked in Tools->Options->Simulation.

comment:2 by massimo ceraolo, 10 years ago

oops!
I will immediately close this ticket.

comment:3 by massimo ceraolo, 10 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.