Opened 13 years ago

Closed 12 years ago

#1713 closed defect (fixed)

OMEdit is unable to save files in a directory structured package

Reported by: perob88 Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: trunk
Keywords: Cc: perob88

Description

I have a package structured as directories, e.g.

package.mo
Driver/
Examples/
Vehicles/

Examples:
Examples/NEDCVehicleTest.mo

Now, if I open package.mo from root dir of library it is opened as expected.
I can then click on and edit for example "NEDCVechicleTest" but when I try to save it I get,

"The Model xxxx is contained within a package. It is automatically saved when you save the pack..."

This is not true for me, I cannot save the file by saving the package either. When pressing "save" it sits around for a while but the model stays unsaved. A complicating issue is that is seems like sometimes it spits out code in the bottom och the main package.mo file instead of editing the actual file that originally contained the model.

This behaviour makes it almost impossible to use OMEdit for mee so it's a critical issue.

Change History (2)

comment:1 by Martin Sjölund, 12 years ago

Cc: perob88, → perob88
Owner: changed from perob88 to Adeel Asghar
Status: newassigned

comment:2 by Adeel Asghar, 12 years ago

Resolution: fixed
Status: assignedclosed

Should work with the new version.

Note: See TracTickets for help on using tickets.