Opened 8 years ago

Closed 8 years ago

#4357 closed defect (fixed)

OMEdit allows class names with spaces

Reported by: Dietmar Winkler Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version: v1.12.0
Keywords: Cc:

Description

During a workshop beginners forgot the rule of "no spaces" allowed when nameing instances that were dropped in a diagram.
OMEdit accepts the illegal class names silently and only when simulating you get unexpected results (but still no indication as to why).

When we found a class with an illegal name, renaming will fail because NOW OMedit (or rather the rename function) chokes on the illegal name. Only workaround then is deleting the instance and adding it anew.

It really should be the case that OMEdit has a sanity checker on all names entered before accepting it.

Change History (4)

comment:1 by Jan Kokert, 8 years ago

Very good idea! This happened to me not so long ago too...

comment:2 by Jan Kokert, 8 years ago

Priority: highnormal
Type: defectenhancement

comment:3 by Dietmar Winkler, 8 years ago

Priority: normalhigh
Type: enhancementdefect

Sorry but this really is not a normal problem but a "high" problem since it leads to models not being able to get simulated and that without any information as to why.

comment:4 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in ebd8f5e/OMEdit.

Note: See TracTickets for help on using tickets.