Opened 7 years ago

Closed 6 years ago

#4955 closed defect (fixed)

Bad OMEdit behaviour when requiring a wrong duplication twice

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.14.0
Component: OMEdit Version:
Keywords: Cc:

Description

When we duplicate a model makes some validity check.

If, for instance, we have a model named "Test" and require to duplicate it using as new name "Test new", OMEdit issues an error message and does not create the invalid duplicate.

But if we try again to duplicate "Test" using again as new name "Test new", it says:
"class Test new already exists in Top Level", which I think is wrong.

Checked on Linux with OMEdit 1.13.0~dev-124-g7e3111a
Connected to OpenModelica 1.13.0~dev-1019-gea63cad

Change History (2)

comment:1 by Francesco Casella, 6 years ago

Milestone: 1.13.01.14.0

Rescheduled to 1.14.0 after 1.13.0 releasee

comment:2 by Adeel Asghar, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.