Opened 5 years ago

Closed 4 years ago

#5875 closed defect (duplicate)

OMEdit: duplication of class within package doesn't work

Reported by: guenther.weidenholzer@… Owned by: Adeel Asghar
Priority: normal Milestone:
Component: OMEdit Version: v1.14.1
Keywords: duplicate Cc:

Description

I tried to duplicate a model within a package by clicking on "Duplicate" in the context menu. OMEdit complains about an invalid name for no reason...

See attached screenshot.

Attachments (2)

bugreport_duplicate.PNG (20.5 KB ) - added by guenther.weidenholzer@… 5 years ago.
bugreport "duplicate"
test.mo (68 bytes ) - added by guenther.weidenholzer@… 5 years ago.
Modelica File

Download all attachments as: .zip

Change History (7)

by guenther.weidenholzer@…, 5 years ago

Attachment: bugreport_duplicate.PNG added

bugreport "duplicate"

comment:1 by Francesco Casella, 5 years ago

Could you please also attach the .mo file, so we can reproduce the issue ourselves?

Thanks!

by guenther.weidenholzer@…, 5 years ago

Attachment: test.mo added

Modelica File

comment:2 by guenther.weidenholzer@…, 5 years ago

Hi,

the issue seems to be equal to ticket #5733 which is already fixed.
Please have a look at the attached File "test.mo". It simply contains a package "Test" with a empty model "Test1".

Regards,
Günther

comment:3 by Karim Adbdelhak, 5 years ago

Note that it has not been backported to 1.14, only to the 1.15 release.

comment:4 by Francesco Casella, 5 years ago

Have you tried with the 1.16.0 nightly build? The backport to 1.15.0 has not been released yet.

comment:5 by Adeel Asghar, 4 years ago

Resolution: duplicate
Status: newclosed

The user reported that its same as #5733.

Note: See TracTickets for help on using tickets.