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: adeas31
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 Changed 8 years ago by anonymous

  • Component changed from Frontend to OMEdit
  • Owner changed from somebody to adeas31

comment:2 Changed 8 years ago by adeas31

  • Milestone set to 1.12.0
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in d53fe05/OMEdit.

Note: See TracTickets for help on using tickets.