Bug 187564 - hang when adding containment after removing containment
Summary: hang when adding containment after removing containment
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 05:15 UTC by Sten Heinze
Modified: 2015-02-26 20:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.