Bug 407195 - implementation/realisation association depends on class name
Summary: implementation/realisation association depends on class name
Status: CONFIRMED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.26.0 (KDE Applications 18.08.0)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-03 20:56 UTC by Michael
Modified: 2022-05-24 22:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sample project with the described class and interface names, that can be used to reproduce the issue (24.27 KB, application/zip)
2019-05-03 20:56 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2019-05-03 20:56:43 UTC
Created attachment 119830 [details]
sample project with the described class and interface names, that can be used to reproduce the issue

SUMMARY
the implementation / realization association can only be set on classes that are listed after the interface in the tree view (sorted by name)

STEPS TO REPRODUCE
1. extract attached java code
2. import *.java files from subfolders of src/main/java  
3. drag interface QuakVerhalten from tree view to class diagram view
4. drag classes Quaken, Quietschen, StummesQuaken from the tree view to the class diagram view
5. check association arrows. only the classes that come after the interface have the implementation arrow. the class Quaken does not have the realization arrow. When drawing the association manually and double-clicking to edit the association, the Realization association is not available in the combo box.  

OBSERVED RESULT
not all implementations of the interface QuakVerhalten are displayed with the correct realization association. The classes with a class name that is before the interface name can not have the realization association. Only after renaming the classes, the realization association can be used.

EXPECTED RESULT
All classes that implement an interface should show as realization of the interface regardless of their name.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I also tried to reproduce this issue by manually creating an interface test and implementing classes atest and ztest, but I could not set the realization association at all. If this is a usage error, I am extremely sorry.
Comment 1 Michael 2019-05-03 21:04:09 UTC
initially found in 2.24.3
reproduced also with 2.26.0
Comment 2 Michael 2019-05-03 21:14:50 UTC
PS: this is my first time using umbrello and I am amazed how awesome it is! 
Cheers