Bug 414599

Summary: No namespace creation when importing stack traces
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: importerAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.29.3 (KDE Applications 19.08.3)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.29.90 (KDE Applications 19.11.90)
Sentry Crash Report:
Attachments: stacktrace to import

Description Ralf Habacker 2019-11-28 11:46:37 UTC
Created attachment 124152 [details]
stacktrace to import

SUMMARY


STEPS TO REPRODUCE
1. start umbrello
2. create new sequence diagram
3. open context menu on diagram background and import appended file

OBSERVED RESULT
The generated classes are not located in the namespace they should be. Instead the class name contains the namespace e.g. osgEarth::ElevationLayer::createHeightField

EXPECTED RESULT
The importer should generate correct namespaces and assign the imported classes to the related namespace


SOFTWARE/OS VERSIONS
Windows: 10
KDE Frameworks Version: 5.55
Qt Version: 5.9.7
Comment 1 Ralf Habacker 2019-11-28 14:56:55 UTC
Git commit b6de072c9074c083f7683ef610ad1730dda94af9 by Ralf Habacker.
Committed on 28/11/2019 at 14:46.
Pushed by habacker into branch 'release/19.12'.

Fix 'No namespace creation when importing stack traces'
FIXED-IN:2.30.0 (KDE Applications 19.12.0)

M  +42   -0    umbrello/codeimport/import_utils.cpp
M  +2    -0    umbrello/codeimport/import_utils.h
M  +2    -6    umbrello/diagram_utils.cpp

https://invent.kde.org/kde/umbrello/commit/b6de072c9074c083f7683ef610ad1730dda94af9