[Uml-devel] [Bug 199310] New: Umbrello Generates bad attribute types from old .xmi file

Mark Gardinier ati at san.rr.com
Tue Jul 7 15:33:06 UTC 2009


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

           Summary: Umbrello Generates bad attribute types from old .xmi
                    file
           Product: umbrello
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: ati at san.rr.com


Version:           2.2.4 (using KDE 4.2.4)
OS:                Linux
Installed from:    Fedora RPMs

I am starting up an old project after almost 2 years of inactivity.  We used
Umbrello on this project.

The old Umbrello was able to read in an .xmi file and define class attributes,
lets call them -> Min Green Interval, Max Green Interval, and Yellow Interval
to types declared in a stand alone Ada95 class (System_Types).  For example,
one system type, System_Types.Seconds is defined as "subtype Seconds is float
range 0.0 .. 120.0".  On the class model diagram, the class attribute looks
like "+Min_Green_Interval : System_Types.Seconds".  

This was good.  

When reading the same .xmi file, the Umbrello UML Modeller Version 2.2.4 Using
KDE 4.2.4 gives the message “an object with the name new_class already exists
in the package Logical View.  Please enter a new name”.    The command history
window shows “rename objects” occurring.  The attributes Min_Green_Interval,
Max_Green_Interval, and Yellow_Interval now are of new_class_13, new_class_14,
and new_class_15 types.  

Overall, 28 new classes are created (new_class_1 .. new_class_28).  On the
class diagram I am using there happens to be 14 attributes defined of
System_Type.something.  

That is wrong.

It appears that System_Types.Seconds (or any other type defined in
system_types) is ignored.  The only exception I can find is when System Types
is used in a method.  The interface class, clock, has a method called
Current_Time.  This procedure returns Time_Of_Day of type System_Types.Time. 
It is correct on the new diagram.

-- 
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