Bug 103133 - umbrello is picky about element order when loading xmi files
Summary: umbrello is picky about element order when loading xmi files
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Oliver Kellogg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 15:02 UTC by Lutz Mueller
Modified: 2005-04-04 06:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patches the mentioned method, so that it does not care about order of widgets,associations and messages, but otherwise retains it current behaviour (1.80 KB, patch)
2005-04-03 15:05 UTC, Lutz Mueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Mueller 2005-04-03 15:02:04 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4 
OS:                Linux

when loading an xmi file, umbrello expects the elements below the diagram tag in exact order (widgets,messages,associations) , otherwise it wont display the diagram. But in xml the element order should not matter as long as the elements are at the right level in the dom tree. i tracked this problem down to the method UMLView::loadFromXMI( QDomElement & qElement ) ,wrote a patch (which works for me) and attached it.
Comment 1 Lutz Mueller 2005-04-03 15:05:49 UTC
Created attachment 10496 [details]
patches the mentioned method, so that it does not care about order of widgets,associations and messages, but otherwise retains it current behaviour
Comment 2 Oliver Kellogg 2005-04-04 06:35:33 UTC
Many thanks for your patch.
Please use the -u (unified) option to diff when making patches.
Comment 3 Oliver Kellogg 2005-04-04 06:40:39 UTC
Fixed in cvs.