Importing a c++ class in the mentioned version do not honor the provided attribute and member visibility. All attributes and methods are public by default Reproducible: Always Steps to Reproduce: 1. open umbrello 2. import the appended test case 3. drag class Test on diagram 4. uncheck "public only" checkbox in "Display" diagram property page Actual Results: All three methods are shown as public methods Expected Results: The import should show one public, protected and private member and one public, protected and private method.
Created attachment 87532 [details] test case
Created attachment 87534 [details] testcase syntax error fix
Git commit b32539eab2926505adcd09f5b74381aebc74b0b9 by Ralf Habacker. Committed on 04/07/2014 at 10:31. Pushed by habacker into branch 'master'. Fix visibility on c++ import. The root cause for this issue is that CmdSetVisibility requires to have the uml object in the document uml object list, which is not the case for newly created attributes or operations on import. M +1 -1 umbrello/codeimport/import_utils.cpp http://commits.kde.org/umbrello/b32539eab2926505adcd09f5b74381aebc74b0b9
Git commit 65d3e16809d780f06d7a2a0feb0dd2be9246c0f8 by Ralf Habacker. Committed on 04/07/2014 at 10:31. Pushed by habacker into branch 'KDE/4.13'. Fix visibility on c++ import. The root cause for this issue is that CmdSetVisibility requires to have the uml object in the document uml object list, which is not the case for newly created attributes or operations on import. FIXED-IN:4.13.3 (cherry picked from commit b32539eab2926505adcd09f5b74381aebc74b0b9) M +1 -1 umbrello/codeimport/import_utils.cpp http://commits.kde.org/umbrello/65d3e16809d780f06d7a2a0feb0dd2be9246c0f8