Bug 79883

Summary: Problems when createing item with the same name as another item
Product: [Applications] umbrello Reporter: Zoltan Bartko <bartko.zoltan>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zoltan Bartko 2004-04-18 15:40:10 UTC
Version:           cvs (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.1 
OS:          Linux

I have a package in the project called "System". I want to create an actor called "System". Umbrello says it is not allowed, creation process cancelled. After that the cursor is blinking in the listview at the particular actor. Whatever I do (e.g. leave or overwrite the name), if I want to delete the actor, the program crashes.

Wish/suggestion: 
1. What does an actor have to do with a package name? I think name comparison should be done only among actors and not in the whole project.

2. If the name is already in use, please suffix a number or something or do not create the listview item at all.

Thanks for reading and solving
Comment 1 Jonathan Riddell 2004-04-27 15:36:05 UTC
1. create a class called 'system'
2. right click on Use Case View in list view and create a new Actor
3. call the Actor 'system'
4. press enter to confirm name
5. it complains about the name not being unique
6. press enter twice more and it renames it to new_actor
7. delete actor -> crash

strange
Comment 2 Oliver Kellogg 2004-04-27 22:24:30 UTC
*** Bug has been marked as fixed ***.