Bug 278073

Summary: Code generator wizard: classes are generated with wrong inheritance relations
Product: [Applications] umbrello Reporter: greatbunzinni
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.9.5 (KDE 4.9.5)
Attachments: test case

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