Discussion:
[Uml-devel] [Bug 199310] New: Umbrello Generates bad attribute types from old .xmi file
Mark Gardinier
2009-07-07 15:33:06 UTC
Permalink
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-***@kde.org
ReportedBy: ***@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.
Mark Gardinier
2009-07-07 15:53:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310





--- Comment #1 from Mark Gardinier <ati san rr com> 2009-07-07 17:53:40 ---
Created an attachment (id=35126)
--> (http://bugs.kde.org/attachment.cgi?id=35126)
.XMI causing error and better description with pictures.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Andi Fischer
2009-07-18 13:15:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310


Andi Fischer <***@hispeed.ch> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@hispeed.ch




--- Comment #2 from Andi Fischer <andi fischer hispeed ch> 2009-07-18 15:15:52 ---
Edited the xmi file by hand and removed the duplicated types.
File is loading now without message box. But there are still a lot of debug
messages in the console.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Andi Fischer
2009-07-18 13:28:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310





--- Comment #3 from Andi Fischer <andi fischer hispeed ch> 2009-07-18 15:28:27 ---
Created an attachment (id=35432)
--> (http://bugs.kde.org/attachment.cgi?id=35432)
Changed sst.xmit file to load without message boxes.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Andi Fischer
2009-07-18 13:29:46 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310


Andi Fischer <***@hispeed.ch> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #35432|Changed sst.xmit file to |Changed sst.xmi file to
description|load without message boxes. |load without message boxes.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Andrew Crouthamel
2018-11-02 22:59:45 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310

Andrew Crouthamel <***@kdemail.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WAITINGFORINFO
Status|REPORTED |NEEDSINFO

--- Comment #4 from Andrew Crouthamel <***@kdemail.net> ---
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test
if the bug is valid in the latest version? I am setting the status to NEEDSINFO
pending your response, please change the Status back to REPORTED when you
respond.

Thank you for helping us make KDE software even better for everyone!
--
You are receiving this mail because:
You are the assignee for the bug.
Andrew Crouthamel
2018-11-16 05:24:57 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=199310

Andrew Crouthamel <***@kdemail.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|WAITINGFORINFO |---
Status|NEEDSINFO |REPORTED

--- Comment #5 from Andrew Crouthamel <***@kdemail.net> ---
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you
help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...