Bug 103133

Summary: umbrello is picky about element order when loading xmi files
Product: [Applications] umbrello Reporter: Lutz Mueller <lutz.mueller>
Component: generalAssignee: Oliver Kellogg <okellogg>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
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

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.