Bug 338793 - C++ import regression
Summary: C++ import regression
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 22:52 UTC by Ralf Habacker
Modified: 2015-04-17 21:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.15.80 (KDE Applications 15.03.80)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2014-09-03 22:52:50 UTC
Importing the following c++ code snippet 

class A { 
  public: 
    A(); 
};

results into not been able to drag the imported class to a diagram and  to save this import as xmi file

Reproducible: Always

Steps to Reproduce:
1. open umbrello 
2. import the mentioned c++ code snippet
3. drag and drop class A on a class diagram
4. save project as xmi file
5. load saved xmi file

Actual Results:  
1. dragging mentioned in step 3 is not possible
2. the loaded xmi file generated in step 4 do not contain class A.


Expected Results:  
1. dragging should be able
2. It should be able to save the imported class into an xmi file.


The regression has been introduced with commit c982099f15448875a393565d185b257433b6c0be.
Comment 1 Ralf Habacker 2014-09-04 05:22:17 UTC
Git commit e66a2cbbedf6883f1ddfb68979da7ca0cf2ab071 by Ralf Habacker.
Committed on 03/09/2014 at 23:01.
Pushed by habacker into branch 'master'.

Partially revert commit c982099f15448875a393565d185b257433b6c0be

M  +1    -1    umbrello/object_factory.cpp

http://commits.kde.org/umbrello/e66a2cbbedf6883f1ddfb68979da7ca0cf2ab071