Bug 161182

Summary: Java-Codegeneration creates source code for class with multiple base classes
Product: [Applications] umbrello Reporter: Stephan Wienczny <Stephan>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stephan Wienczny 2008-04-23 05:16:45 UTC
Version:           1.5.8 (using KDE 3.5.9)
Installed from:    Ubuntu Packages

You can generate source code for classes that have more than one base. 
This is not valid for java and should result in an error.

Steps to reproduce:

1. Create a new class diagram.
2. Add 3 classes A, B, C
3. Make A a generalisation of C.
4. Make B a generalisation of C.
5. Generate java source.

Expected behavior:

Incorrect code should not be generated. An error message should be shown.
Comment 1 Andrew Crouthamel 2018-11-02 04:24:58 UTC
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!
Comment 2 Andrew Crouthamel 2018-11-16 02:46:01 UTC
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!
Comment 3 Justin Zobel 2022-12-08 00:00:37 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Stephan Wienczny 2022-12-08 01:35:35 UTC
Tested in Umbrello 2.35.3 and the bug is still there:

public class C extends A,B ...