Bug 384494 - Umbrello ER model prevents using names of deleted entities
Summary: Umbrello ER model prevents using names of deleted entities
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-08 14:46 UTC by yamir.horta
Modified: 2017-09-10 11:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
xmi file with deleted and therefore unreachable entities inside (31.44 KB, application/xml)
2017-09-08 14:46 UTC, yamir.horta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yamir.horta 2017-09-08 14:46:40 UTC
Created attachment 107754 [details]
xmi file with deleted and therefore unreachable entities inside

Umbrello version 2.23.1 for Windows (Windows 8)

When you create an entity and then deletes it, then there is no way you can create another entity with the same name as the deleted one.

It shows the error message: "That name is already being used".

Inside the xmi structure it saves the deleted entities, but there is no way to tell Umbrello to remove them completely.

I guess this bug is related to the way Umbrello handles the UNDO-chain.

In the attachment the entities "Lista2", "NuevaLista" and "MapaProducto" are deleted entities that still exist but can not be reached within Umbrello.
Comment 1 Ralf Habacker 2017-09-10 11:08:11 UTC
From your report I assume that 
1. you added an entity to the diagram plane and deleted it from there and 
2. you do not have the tree view visible (click on settings->tree view)

Removing entities from a diagram only removes it from the diagram not from the list of available UML objects. Available UML objects are displayed in the tree view. After opening the appended file the mentioned objects are displayed in the tree view.

To add an available entity to a diagram you need to drag it from the tree view. 

If you want to let umbrello deal with already available UML objects by choosing "New Entity" feel free to open a new feature request.