Opened 11 years ago
Last modified 3 years ago
#2122 assigned defect
Save API doesn't handle multiple classes
Reported by: | adeas31 | Owned by: | adeas31 |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | trunk |
Keywords: | Cc: | adrpo, sjoelund.se |
Description
If a file contains several classes then calling a save API on one of these classes only save the file with this class and remove the other classes.
Attachments (2)
Change History (20)
Changed 11 years ago by adeas31
Changed 11 years ago by adeas31
comment:1 Changed 11 years ago by sjoelund.se
- Component changed from Interactive Environment to OMEdit
- Owner changed from somebody to adeas31
comment:2 Changed 11 years ago by adeas31
Now OMEdit only allows loading of files that has just one top level class in it. However, I still believe this should be fixed at compiler level e.g fix the loadFile/save API.
comment:3 Changed 11 years ago by sjoelund.se
Then add an extra input Boolean checkExactlyOneClass := true or something. Preferably shorter name.
comment:4 Changed 11 years ago by adeas31
- Component changed from OMEdit to Interactive Environment
- Owner changed from adeas31 to somebody
comment:5 Changed 11 years ago by sjoelund.se
- Milestone changed from 1.9.0 to 1.9.1
Postponed until 1.9.1
comment:6 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.1 to 1.9.2
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:7 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.2 to 1.9.3
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:8 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.3 to 1.9.4
Moved to new milestone 1.9.4
comment:9 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.5
Milestone pushed to 1.9.5
comment:10 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.5 to 1.10.0
Milestone renamed
comment:11 Changed 7 years ago by sjoelund.se
- Milestone changed from 1.10.0 to 1.11.0
Ticket retargeted after milestone closed
comment:12 Changed 7 years ago by sjoelund.se
- Milestone changed from 1.11.0 to 1.12.0
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:13 Changed 6 years ago by casella
- Milestone changed from 1.12.0 to 1.13.0
- Owner changed from somebody to adeas31
- Status changed from new to assigned
comment:14 Changed 5 years ago by casella
- Milestone changed from 1.13.0 to 1.14.0
Rescheduled to 1.14.0 after 1.13.0 releasee
comment:15 Changed 4 years ago by casella
- Milestone changed from 1.14.0 to 1.16.0
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:16 Changed 3 years ago by casella
- Milestone changed from 1.16.0 to 1.17.0
Retargeted to 1.17.0 after 1.16.0 release
comment:17 Changed 3 years ago by casella
- Milestone changed from 1.17.0 to 1.18.0
Retargeted to 1.18.0 because of 1.17.0 timed release.
comment:18 Changed 3 years ago by casella
- Milestone 1.18.0 deleted
Ticket retargeted after milestone closed
A file may only contain a single class. You should check this in OMEdit because there is lots of code out there that depends on OpenModelica handling files with multiple classes.