Bug 161182 - Java-Codegeneration creates source code for class with multiple base classes
Summary: Java-Codegeneration creates source code for class with multiple base classes
Status: REPORTED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 05:16 UTC by Stephan Wienczny
Modified: 2022-12-08 01:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ...