On importing python code variables containing a reference to an object umbrello do not set the related variable as type 'object'. Reproducible: Always Steps to Reproduce: 1. start umbrello 2. switch active language to python 3. import appended test case Actual Results: umbrello asks for a class name as type for the imported attribute Expected Results: umbrello should use type 'object' for the imported variables
Created attachment 100932 [details] testcase
Git commit 6b9cdff4d2b1ea0085d6fbfe59265e52a802aafd by Ralf Habacker. Committed on 05/09/2016 at 08:35. Pushed by habacker into branch 'Applications/16.08'. Fix 'Python import do not import object references correctly'. On import python variables use type 'object' for any initializer not matching any basic type. FIXED-IN:2.20.2 (KDE Applications 16.08.2) M +2 -1 test/import/python/types.py M +2 -0 umbrello/codeimport/pythonimport.cpp http://commits.kde.org/umbrello/6b9cdff4d2b1ea0085d6fbfe59265e52a802aafd