Opened 8 years ago

Closed 8 years ago

#4186 closed defect (fixed)

Duplicate of Modelica class with illegal class name

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version:
Keywords: Cc:

Description

Create a test model "Test" in OpenModelica Editor. Save the model. Make a right click on "Test" to and select "Duplicate". Choose the duplicate name "Test B" with a blank between "Test" and "B". Now there are two scenarios which may happen.

a) The new model "Test B" is displayed... which is illegal
b) The new model is not displayed. Quit OpenModelica -- it then claims that there is one unsaved class "Test B"

It is not clear in advance whether OMEdit will show behavior a) or b). I noticed either one when trying to make the issue reproducible.

Change History (2)

comment:1 by anonymous, 8 years ago

Component: FrontendOMEdit
Owner: changed from somebody to Adeel Asghar

comment:2 by Adeel Asghar, 8 years ago

Milestone: 1.12.0
Resolution: fixed
Status: newclosed

Fixed in d53fe05/OMEdit.

Note: See TracTickets for help on using tickets.