[Uml-devel] [umbrello] [Bug 230350] Umbrello segfaults on opening xmi file
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Jun 18 18:20:29 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=230350
--- Comment #10 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Created attachment 80618
--> https://bugs.kde.org/attachment.cgi?id=80618&action=edit
xml.save.xmi fixed
(In reply to comment #9)
> [...]
> > was generated by an older version of umbrello,
> has this been reported as major bug in that version ? Creating corrupt files looks like a major bug to me.
Certainly. As said in comment #2, 1.5.5 was a known "bad" version, and we are
not supporting that version any more.
Nevertheless I made an exact analysis of the reproducer file, and the
attachment fixes the problems of that file.
Here are the problems:
1) Duplicated xmi.id values
UML:Model xmi.id="1" name="Logical View"
UML:DataType xmi.id="1" name="int"
UML:Stereotype xmi.id="2" name="folder"
UML:DataType xmi.id="2" name="long"
UML:Model xmi.id="3" name="Use Case View"
UML:DataType xmi.id="3" name="String"
UML:Model xmi.id="4" name="Component View"
UML:DataType xmi.id="4" name="double"
UML:Model xmi.id="5" name="Deployment View"
UML:DataType xmi.id="5" name="date"
UML:Model xmi.id="6" name="Entity Relationship Model"
UML:DataType xmi.id="6" name="CREATE_DATE"
UML:Package xmi.id="8" name="Datatypes"
UML:DataType xmi.id="8" name="NUMBER2"
Solution: Add 100 to xmi.ids of <UML:DataType>s, for example:
UML:DataType xmi.id="108" name="NUMBER2"
and adjust all xmi.id references to those datatypes.
2)
<UML:Stereotype isSpecification="false" isLeaf="false" visibility="public"
namespace="1" xmi.id="72" isRoot="false" isAbstract="false"
name="datatype" />
Changed namespace="1"
to namespace="m1"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list