Bug 145131

Summary: C++ generated code for generalization association has parent implementing a child class
Product: [Applications] umbrello Reporter: Kev <register>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: okellogg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

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