Bug 187564

Summary: hang when adding containment after removing containment
Product: [Applications] umbrello Reporter: Sten Heinze <sten.heinze>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sten Heinze 2009-03-19 05:15:08 UTC
Version:           2.2.1 (included with KDE 4.2.1) (using KDE 4.2.1)
Compiler:          gcc 4.3.3-3 (from Debian testing) 
OS:                Linux
Installed from:    Debian testing/unstable Packages

Umbrello hangs with the following actions:
1. Add a package and a class;
2. Add containment of class in package;
3. Remove this containment;
4. Add containment of package in class.

With step 4 the hang occurs. It does not matter which element is contained in which other, the programs hangs in both cases.

Important detail might be that the contained element (the class in my example) is moved to be a subelement of the package in the UML model on the left (step 2). But on removing the containment, the class is not moved back up in the hierarchy (step 3).

Expected behaviour is the moving the contained element back up (step 3) and the introduction of a new hierarchy when the new containment is created (step 4).

Regards,
Sten
Comment 1 Ralf Habacker 2015-02-26 20:43:28 UTC
The freeze could not be reproduced with recent version 2.15.3. 

In general changing class/package hierachy is possible with recent umbrello version 2.15.3 by moving related classes/packages up/down in the tree view hierachy. The containment associations in related diagrams will be updated automatically.