Bug 138341 - Complex schema doesn't load correctly after changes
Summary: Complex schema doesn't load correctly after changes
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 12:55 UTC by Alexey Parshin
Modified: 2007-05-03 21:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
file that doesn't load (481.88 KB, text/plain)
2006-12-04 14:15 UTC, Alexey Parshin
Details
bug138341-saved-by-1.5.52.xmi (391.13 KB, application/x-uml)
2006-12-04 22:25 UTC, Oliver Kellogg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2006-12-04 12:55:47 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.1 
OS:                Linux

A pretty complex class diagram for the database of around 80 tables (classes) and around 200 associations isn't loaded as soon as almost any change is made in the diagram. Change examples: 
- adding an attribute to the class
- editing association parameters
- moving class on the diagram

It is accompanied by multiple duplications of the associations with the same name in the XMI file. At this point, it's completely bloking me from using that diagram, and that freezes the project.
Comment 1 Alexey Parshin 2006-12-04 12:58:24 UTC
During the load, the following messages are presented:

kbuildsycoca running...
umbrello: ERROR: UMLRole::load: type not given or illegal
umbrello: ERROR: UMLListView::moveObject(Datatypes): Cannot move onto self
umbrello: WARNING: unused list view item 8 of lvtype 829
Comment 2 Alexey Parshin 2006-12-04 14:15:37 UTC
Created attachment 18778 [details]
file that doesn't load
Comment 3 Oliver Kellogg 2006-12-04 22:25:30 UTC
Created attachment 18786 [details]
bug138341-saved-by-1.5.52.xmi

Please update your umbrello to version 1.5.52, obtainable at
http://uml.sourceforge.net/download.php .
This is your file after save by 1.5.52.
Comment 4 Alexey Parshin 2006-12-05 09:31:27 UTC
Well, it's much better - at least the schema loads and I can edit it. However, when I edit an association, this often doesn't affect the export. After reviewing the file using the association name as the search, it's possible to see that many association are duplicated, and edit affects the first one in the file, but export exports the last one. Of ~350+ associations in the .XMI file only 126 associations were real (I had to use the XML parser and little prog to count them)
Comment 5 Oliver Kellogg 2007-04-09 13:04:11 UTC
Several bugs were fixed within the past few days that might also
cover this problem.
Could you try again with the current wavefront from KDE SVN?
For instructions, see
 http://uml.sourceforge.net/install.php#source-code
Thanks.
Comment 6 Oliver Kellogg 2007-05-03 21:51:11 UTC
I assert that this is fixed in 1.5.7-beta1.
Please reopen if need be.