Bug 63884

Summary: AssociationWidget::loadFromXMI() has problems to load textrole 704 and FloatingText::loadFromXMI has problems with 700
Product: [Applications] umbrello Reporter: Achim Spangler <Achim.Spangler>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Achim Spangler 2003-09-08 08:29:41 UTC
Version:           current CVS (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
Compiler:          g++ (GCC) 3.3 20030226 
OS:          Linux

The current version of umbrello can now load messages of sequence diagrams (thanks Oliver).

But the current (!! - not so the version from end of august) umbrello has still some problems with my project file:
+ WARNING: AssociationWidget::loadFromXMI() :unexpected FloatingText (textrole 704)
   -> part of sequence diagram (look at example)
-----------------
    <associations>
     <UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="2850" roleBdoc="" widgetaid="29995" roleAdoc="" documentation="" type="513" changeabilityA="900" changeabilityB="900" visibilityA="200" >
      <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="704" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="Nimbus Sans l,12,-1,5,50,0,0,0,0,0" />
      <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="711" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="Nimbus Sans l,12,-1,5,50,0,0,0,0,0" />
      <UML:FloatingTextWidget usesdiagramfillcolour="1" width="0" usesdiagramusefillcolour="1" x="0" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="712" fillcolour="none" height="0" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="-1" text="" font="Nimbus Sans l,12,-1,5,50,0,0,0,0,0" />
      <linepath>
       <startpoint startx="1126" starty="80" />
       <endpoint endx="1178" endy="170" />
      </linepath>
     </UML:AssocWidget>
------------------
--> association between class object representation and note



+ FloatingText::loadFromXMI: id 4907: don't know how to treat role 700
------------------------------
     <UML:FloatingTextWidget usesdiagramfillcolour="1" width="110" usesdiagramusefillcolour="1" x="786" linecolour="none" y="0" operation="" instancename="" posttext="" usesdiagramlinecolour="1" role="700" fillcolour="none" height="21" usefillcolor="1" seqnum="" pretext="" isinstance="0" xmi.id="4907" text="1st: Trigger Mask" font="Nimbus Sans l,12,-1,5,50,0,0,0,0,0" />
------------------------------
--> pure/simple text (not part of note and no label of a widget) in use case diagram


Both problems doesn't occure with the CVS version from end of August 2003.
Comment 1 Achim Spangler 2003-09-18 16:32:31 UTC
_This_ problem is fixed now. 
But there are now some other already reported problems with XMI load 
(Bug Nr. 64431, 64435)