Bug 145131 - C++ generated code for generalization association has parent implementing a child class
Summary: C++ generated code for generalization association has parent implementing a c...
Status: RESOLVED DUPLICATE of bug 322019
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 10:28 UTC by Kev
Modified: 2013-07-08 05:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kev 2007-05-07 10:28:04 UTC
Version:           1.5.5 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.1 
OS:                Linux

With Job parent class and multiple child classes, the JobExplore child class was listed as implemented by the parent.  When regenerating code, the number of times JobExplore was listed increased.

class Job : public JobExplore, public JobExplore, public JobExplore, public JobExplore
{
public:
...

The Class diagram shows associations in correct direction.  The properties for Job class shows associations as expected. Properties for JobExplore shows reference to Job as expected.

JobExplore class has multiple references to Job also.

class JobExplore : public Job, public Job, public Job, public Job
{
public:
...

The xmi file had following against Job section:
       <UML:GeneralizableElement.generalization>
        <UML:Generalization xmi.idref="499043" />
        <UML:Generalization xmi.idref="499043" />
       </UML:GeneralizableElement.generalization>
Comment 1 Oliver Kellogg 2007-06-05 21:35:06 UTC
I believe this has been fixed, could you try again with 1.5.7 ?
Comment 2 Oliver Kellogg 2013-07-07 18:22:49 UTC
1.5.5 had numerous problems, unfortunately.
Please use 1.5.8 for KDE3 or 2.x.y for KDE4.
If you experience the same problem with those versions then please create an attachment for reproducing the problem and reopen.
Comment 3 Oliver Kellogg 2013-07-08 05:43:58 UTC

*** This bug has been marked as a duplicate of bug 322019 ***