Created attachment 121161 [details] test case SUMMARY umbrello fails to import method parameters correctly STEPS TO REPRODUCE 1. download appended test file 2. start umbrello 3. choose python as active language 4. import the downloaded file OBSERVED RESULT The method parameters used in the python file are not imported correctly EXPECTED RESULT The method parameters should be imported correctly
Git commit 50e1c09fc9ca28a4f7ef8d7cb2c2576d2d06a854 by Ralf Habacker. Committed on 26/06/2019 at 14:22. Pushed by habacker into branch 'Applications/19.04'. python importer: Extend for parsing method parameter default values FIXED-IN:2.28.3 (KDE Applications 19.04.3) A +22 -0 test/import/python/method-parameters.py M +102 -63 umbrello/codeimport/pythonimport.cpp M +5 -1 umbrello/codeimport/pythonimport.h https://commits.kde.org/umbrello/50e1c09fc9ca28a4f7ef8d7cb2c2576d2d06a854
Git commit b1db9b207d26cd1bf5e18e88727bd5b5e25e850d by Ralf Habacker. Committed on 27/06/2019 at 07:13. Pushed by habacker into branch 'Applications/19.04'. Move negative sign handling into PythonImport::parseInitializer() M +6 -5 umbrello/codeimport/pythonimport.cpp https://commits.kde.org/umbrello/b1db9b207d26cd1bf5e18e88727bd5b5e25e850d
Git commit 9f1fa2567473b456a76e4d5ea2fedfbfb1a496f3 by Ralf Habacker. Committed on 27/06/2019 at 07:12. Pushed by habacker into branch 'Applications/19.04'. python importer: Extend for parsing method parameter default values FIXED-IN:2.28.3 (KDE Applications 19.04.3) M +13 -0 umbrello/codeimport/pythonimport.cpp https://commits.kde.org/umbrello/9f1fa2567473b456a76e4d5ea2fedfbfb1a496f3