﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5871	OMEdit changes extensions of package.mo files when top-level package is modified	Andrea Bartolini	Adeel Asghar	"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.order''' 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"	defect	closed	blocker	1.16.0	OMEdit	v1.16.0-dev	fixed		Francesco Casella Adrian Pop
