Opened 5 years ago
Last modified 5 years ago
#5871 closed defect
OMEdit changes extensions of package.mo files when top-level package is modified — at Initial Version
Reported by: | Andrea Bartolini | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | v1.16.0-dev |
Keywords: | Cc: | Francesco Casella, Adrian Pop |
Description
Hi Adeel, here the steps to reproduce the issue:
1) unzip and open in OMEdit the attached Test
example, files and directories structure on disk appears as shown in attached before.png file.
2) open the top-level package Test
and switch to the text view
3) add a comment below the // test
line
4) save the package:
- the top-level package.mo file is empty
- the sub-packages pack2.mo and package.mo files are renamed in pack2.bak-mo and package.bak-mo (as shown in attached after.png file)
It seems (but I'm not sure) that the issue is related to the fact that both sub-package in a single file (pack2.mo) and sub-package in sub-directory (pack1) are present at the same time...
OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-208-gb567bd2
Sysop Linux Ubuntu 18.04
Kind regards,
Andrea