Bug 390901

Summary: Imported classes from file do not show available associations
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.24.2 (KDE Applications 17.12.2)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.24.3 (KDE Applications 17.12.3)
Sentry Crash Report:

Description Ralf Habacker 2018-02-22 12:43:07 UTC
With bug 380266 support for adding classes by text files has been added. An issue with this support is that for imported UML objects present associations are not been added by default.

How to reproduce ?
1. start umbrello
2. add two classes 'A' and 'B' and let class 'A' derive from class 'B'
3. remove class 'B' from diagram
4. create a new text file and enter 'B' into 
5. right click on the class diagram and select 'New'->'from file'
6. select created file in step 4.

What happens ?
class B has been added but the association to A is not displayed

What is expected ?
The association between both classes should be displayed
Comment 1 Ralf Habacker 2018-02-22 12:45:08 UTC
Git commit 02696cb8fd716b7203ee7d0955a79ef4ee2688f8 by Ralf Habacker.
Committed on 22/02/2018 at 12:44.
Pushed by habacker into branch 'Applications/17.12'.

Fix 'Imported classes from file do not show available associations'
FIXED-IN:2.24.3 (KDE Applications 17.12.3)

M  +3    -2    umbrello/diagram_utils.cpp

https://commits.kde.org/umbrello/02696cb8fd716b7203ee7d0955a79ef4ee2688f8