Bug 278073 - Code generator wizard: classes are generated with wrong inheritance relations
Summary: Code generator wizard: classes are generated with wrong inheritance relations
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 08:58 UTC by greatbunzinni
Modified: 2016-09-20 09:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.9.5 (KDE 4.9.5)


Attachments
test case (110 bytes, text/x-chdr)
2016-09-20 08:51 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description greatbunzinni 2011-07-19 08:58:31 UTC
Version:           1.1 (using KDE 4.6.2) 
OS:                Linux

I've created a set of classes through umbrello, where an abstract base class (ABC) was inherited by a set of derived classes, such as this:

[ABC]<----[Derived]


When I tried to generate the equivalent C++ code through umbrello, the C++ headers describe the ABC as inheriting from one of the derivied classes.  Adding to this, the derived class derived from the ABC but it was derived twice, as such:


class Derived : virtual public ABC, virtual public ABC


It would be great if umbrello was able to generate code following the class relationships described in umbrello's class diagram.

Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.38-10-generic
Compiler: cc
Comment 1 Ralf Habacker 2016-09-20 08:51:55 UTC
Created attachment 101197 [details]
test case
Comment 2 Ralf Habacker 2016-09-20 09:06:25 UTC
works as expected with tested version 2.9.5