Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Test for name uniqueness includes itself

open
nobody
None
5
2012-04-05
2012-04-05
Lester Ward
No

1) Create a new file
2) Open the model inspector for the new file.
3) Type "my model" into the name field and hit tab.
4) Go back to name field and change name to "My Model".
5) Get a message saying 'The model could not be renamed to “My Model.ldr” because that name is already taken. Please choose a different name which does not duplicate an existing model’s name.'.

The check that brings up this message should probably ignore the name being edited.

Discussion

  • Lester Ward
    Lester Ward
    2012-05-16

    I have attached a patch file that fixes this problem. It makes the check comparing the old to new value case-insensitive when checking to see if an alert is needed, but leaves the comparison of old and new to see if there is a need to actually do work and change things case sensitive.