Bug 377593

Summary: c++ Import does not recognize destructor
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.21.2 (KDE Applications 16.12.2)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.21.80 (KDE Applications 17.03.80)
Sentry Crash Report:

Description Ralf Habacker 2017-03-14 03:29:32 UTC
After importing a c++ class containing a destructor the imported destructor methode is not marked as "destructor".
  
How to reproduce:
1. start umbrello
2. Import the following code fragment 

class Test { public: Test(); ~Test(); };

3. Open property dialog of generated method "~ Test"

What happens ?
The stereotype "destructor" is missing

What is expected ?
The destructor method should have a stereotype "destructor"
Comment 1 Ralf Habacker 2017-03-14 10:35:47 UTC
Git commit 9dbc282c1e5b89f777b7c34b693b0c62a89cd5cb by Ralf Habacker.
Committed on 14/03/2017 at 10:35.
Pushed by habacker into branch 'master'.

Fix 'c++ Import does not recognize destructor'.
FIXED-IN:2.21.80 (KDE Applications 17.03.80)

M  +1    -1    umbrello/codeimport/adaimport.cpp
M  +1    -1    umbrello/codeimport/csharp/csharpimport.cpp
M  +1    -1    umbrello/codeimport/idlimport.cpp
M  +4    -1    umbrello/codeimport/import_utils.cpp
M  +1    -1    umbrello/codeimport/import_utils.h
M  +1    -1    umbrello/codeimport/javaimport.cpp
M  +17   -6    umbrello/codeimport/kdevcppparser/cpptree2uml.cpp
M  +8    -3    umbrello/codeimport/pascalimport.cpp
M  +1    -1    umbrello/codeimport/pythonimport.cpp

https://commits.kde.org/umbrello/9dbc282c1e5b89f777b7c34b693b0c62a89cd5cb