[Uml-devel] [Bug 283744] Junk residual artifacts littering project file

Oliver Kellogg okellogg at users.sourceforge.net
Sat Feb 4 22:39:45 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=283744





--- Comment #4 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-04 22:39:44 ---
Created an attachment (id=68502)
 --> (http://bugs.kde.org/attachment.cgi?id=68502)
Modification of attachment 68418: undef generalizations removed

Next strangeness: Lines 96 to 144 in your updated attachment contain
<UML:Generalization> forward declarations such as

 96:      <UML:Generalization xmi.idref="eZVzKmaN63EY"/>
 97:      <UML:Generalization xmi.idref="UtK1G9cT2Xvq"/>
 98:      <UML:Generalization xmi.idref="rILZQOb7Mq5Z"/>
          ...
143:      <UML:Generalization xmi.idref="zlQXBD5G2zcp"/>
144:      <UML:Generalization xmi.idref="8V27r65AJqG2"/>

Again it's not clear to me how the current umbrello trunk would
produce these.

The full declarations of those forward references are the following:

4391: child="A7B42ow89qzr" xmi.id="eZVzKmaN63EY" parent="5YNt8kmnmgLa"
4394: child="A7B42ow89qzr" xmi.id="UtK1G9cT2Xvq" parent="5YNt8kmnmgLa"
4397: child="A7B42ow89qzr" xmi.id="rILZQOb7Mq5Z" parent="5YNt8kmnmgLa"
4400: child="A7B42ow89qzr" xmi.id="z5N9XScULW6F" parent="5YNt8kmnmgLa"
4403: child="A7B42ow89qzr" xmi.id="2AjFqC9FNlSx" parent="5YNt8kmnmgLa"
4406: child="A7B42ow89qzr" xmi.id="ykZZyBdJvVSE" parent="5YNt8kmnmgLa"
4408: child="A7B42ow89qzr" xmi.id="kXSoCdaTQntY" parent="5YNt8kmnmgLa"
4477: child="A7B42ow89qzr" xmi.id="antkLV3A7orR" parent="A7B42ow89qzr"
4479: child="A7B42ow89qzr" xmi.id="e1ZbflKDYLst" parent="A7B42ow89qzr"
4486: child="A7B42ow89qzr" xmi.id="8OO9dcU2nai4" parent="A7B42ow89qzr"
4487: child="A7B42ow89qzr" xmi.id="53ZqbIsloGGK" parent="A7B42ow89qzr"
4490: child="A7B42ow89qzr" xmi.id="iEFwcZJBeZtB" parent="A7B42ow89qzr"
4491: child="A7B42ow89qzr" xmi.id="HiotHh4CYDcm" parent="A7B42ow89qzr"
4494: child="A7B42ow89qzr" xmi.id="9wWdIDutXiFD" parent="5YNt8kmnmgLa"
4598: child="A7B42ow89qzr" xmi.id="RcKZaqTR1PJv" parent="A7B42ow89qzr"
4601: child="A7B42ow89qzr" xmi.id="j4CqWw7hmeJg" parent="A7B42ow89qzr"
4602: child="A7B42ow89qzr" xmi.id="2ALZ4hxEotjK" parent="LHOxUwvDHn7q"
4634: child="A7B42ow89qzr" xmi.id="FmsvmBkviLBS" parent="A7B42ow89qzr"
4648: child="A7B42ow89qzr" xmi.id="PofuOTdyxF6B" parent="iQD8xtaj0Kh1"
4691: child="A7B42ow89qzr" xmi.id="YH555by16MGP" parent="A7B42ow89qzr"
4726: child="A7B42ow89qzr" xmi.id="CLguzlIzjY8H" parent="A7B42ow89qzr"
4738: child="A7B42ow89qzr" xmi.id="t3tca76HOQKp" parent="A7B42ow89qzr"
4739: child="A7B42ow89qzr" xmi.id="ahSy5klcPTuw" parent="A7B42ow89qzr"
4798: child="A7B42ow89qzr" xmi.id="ciLEs8UhyeNZ" parent="Unr6QOLA4cNS"
4799: child="A7B42ow89qzr" xmi.id="yA8xnVW1J4Mo" parent="Unr6QOLA4cNS"
4827: child="A7B42ow89qzr" xmi.id="rvV26XXZZiVO" parent="Z6l0G7dizCIB"
4847: child="A7B42ow89qzr" xmi.id="bGcCiwuhJ4BT" parent="A7B42ow89qzr"
4853: child="A7B42ow89qzr" xmi.id="RSzPjxyrxmQv" parent="A7B42ow89qzr"
4854: child="A7B42ow89qzr" xmi.id="enuODnwVhCPI" parent="A7B42ow89qzr"
4930: child="A7B42ow89qzr" xmi.id="brtzNr1rOzsg" parent="Z6l0G7dizCIB"
4993: child="A7B42ow89qzr" xmi.id="RTVaUK9dUQAC" parent="EkzSzCslqJj9"
5102: child="A7B42ow89qzr" xmi.id="NbgDKf88YXdA" parent="A7B42ow89qzr"
5103: child="A7B42ow89qzr" xmi.id="tXqS2ScDwosd" parent="A7B42ow89qzr"
5104: child="A7B42ow89qzr" xmi.id="ifJfU9IiKY3G" parent="A7B42ow89qzr"
5105: child="A7B42ow89qzr" xmi.id="qXdA4fOeDLJI" parent="A7B42ow89qzr"
5139: child="A7B42ow89qzr" xmi.id="S8tLa2yDxxC9" parent="A7B42ow89qzr"
5140: child="A7B42ow89qzr" xmi.id="W5FR2RbFiPmp" parent="A7B42ow89qzr"
5141: child="A7B42ow89qzr" xmi.id="9uvpHieLChhu" parent="A7B42ow89qzr"
5142: child="A7B42ow89qzr" xmi.id="hJZtyEnUg8Nl" parent="A7B42ow89qzr"
5143: child="A7B42ow89qzr" xmi.id="bBsdb8txmJNC" parent="rqQePvFsa01B"
5144: child="A7B42ow89qzr" xmi.id="x1ZkKuug8S4p" parent="qbJj0HWvduCM"
5147: child="A7B42ow89qzr" xmi.id="TptmbNjq4VL3" parent="5YNt8kmnmgLa"
5173: child="A7B42ow89qzr" xmi.id="Q193dBmQRQdF" parent="Unr6QOLA4cNS"
5225: child="A7B42ow89qzr" xmi.id="EYgLUVjc0f0P" parent="5YNt8kmnmgLa"
5259: child="A7B42ow89qzr" xmi.id="7YzzqPnu727q" parent="3LYscwNEdpUb"
5543: child="A7B42ow89qzr" xmi.id="1IXUAAe2aY3j" parent="A7B42ow89qzr"
5544: child="A7B42ow89qzr" xmi.id="6yxgWyNtY2iB" parent="A7B42ow89qzr"
5597: child="A7B42ow89qzr" xmi.id="zlQXBD5G2zcp" parent="A7B42ow89qzr"
5599: child="A7B42ow89qzr" xmi.id="8V27r65AJqG2" parent="Unr6QOLA4cNS"

The "child" of all these is xmi.id="A7B42ow89qzr" which is in line 94:

<UML:DataType stereotype="datatype" ... xmi.id="A7B42ow89qzr" name="undef">

This is a catchall placeholder which Umbrello generates for unresolvable
objects.

Looking at the "parent" xmi.id's, we have:

  94: <UML:DataType ... xmi.id="A7B42ow89qzr" name="undef">
      generalization of self !?!

 306: <UML:DataType ...  xmi.id="3LYscwNEdpUb" name="Ares::Handle<Mesh>"/>

 397: <UML:Class ... xmi.id="5YNt8kmnmgLa" name="SubsystemManagerBase">

1483: <UML:Class ... xmi.id="iQD8xtaj0Kh1" name="SpotLightSource">

1994: <UML:Class ... xmi.id="Z6l0G7dizCIB" name="MultiFactory">

2048: <UML:Class ... xmi.id="Unr6QOLA4cNS" name="AudioDecoderBase">

4418: <UML:Class ... xmi.id="LHOxUwvDHn7q" name="exception"/>

5324: <UML:Class ... xmi.id="EkzSzCslqJj9" name="Resource">

5347: <UML:Class ... xmi.id="qbJj0HWvduCM" name="ResourceManager">

5394: <UML:Class ... xmi.id="rqQePvFsa01B" name="Singleton">

In the attached modification of your model, I have cleaned out the
<UML:Generalization>s referenced by lines 96 to 144.

The next step would be to grep for all references to the "undef" datatype:

  $ grep '"A7B42ow89qzr"' Engine_without_undef_generalizations.xmi

and decide how to change those references to something sensible.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list