Bug 105403

Summary: removal of generalization does not remove it from the model
Product: [Applications] umbrello Reporter: heikki.lehvaslaiho
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description heikki.lehvaslaiho 2005-05-10 13:54:10 UTC
Version:           1.4 (using KDE 3.4.0, Mandrake Linux Cooker i586 - Cooker)
Compiler:          Target: i586-mandrake-linux-gnu
OS:                Linux (i686) release 2.6.11-7mdk-i586-up-1GB

I had a model where one class had multiple inheritance. When I removed one generalization association line and saved the work, the UML:model part of the XMI did not change. Only the widget tags were removed.

This seems to be reproducible bug in the program: To demonstrate it, I created a simple model with three classes and one multiple inheritance, saved the file(multi1.xmi), removed one inheritance, and resaved the model (multi.xmi).

http://www.ebi.ac.uk/~lehvasla/umbrello/multi1.xmi
http://www.ebi.ac.uk/~lehvasla/umbrello/multi2.xmi

I can not see any other way to remove these generalizations than by editing the XMI by hand.


Please advise if I am missing something obvious,


     -Heikki
Comment 1 Oliver Kellogg 2005-05-14 09:34:09 UTC
Cannot confirm with cvs HEAD.
Are you sure this also happens with 1.4? It should work there too.
Comment 2 heikki.lehvaslaiho 2005-05-14 10:23:19 UTC
Absolutely sure. I am using 1.4. I tried it again with identical results.
Comment 3 Oliver Kellogg 2005-05-14 12:11:12 UTC
Strange... I'm not aware of any particular fix for that since 1.4.
Could you try again with svn HEAD or the last available kdesdk snapshot
from ftp://ftp.kde.org/pub/kde/snapshots/ ?

Thanks.
Comment 4 heikki.lehvaslaiho 2005-05-16 10:46:11 UTC
Uh, my computers not geared up to compiling major portions of KDE right now. Last time I had to do it I had to remove half the disk contents.  Sorry. Could someone else please try to confirm this bug!
Comment 5 Jonathan Riddell 2005-05-16 19:08:50 UTC
Works for me in development version from subversion.