Created attachment 168050 [details] test file STEPS TO REPRODUCE 1. start kmymoney 2. open attached kmymoney file 3. Select "Extras->Currencies" and press "Remove unused currencies" OBSERVED RESULT A dialog box is shown Unhandled bug: Please report the details to the developers Security 'USD' not found. /home/user/src/kmymoney-master/kmymoney/mymoney/mymoneyfile.cpp:3217 After pressing "okay" kmymoney crashes EXPECTED RESULT kmymoney should not crash SOFTWARE/OS VERSIONS Linux: openSUSE Leap 15.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8
Git commit f706b45c3e2e4b78d7d26fb00b8828a2e8f68e2a by Thomas Baumgart. Committed on 05/04/2024 at 06:39. Pushed by tbaumgart into branch 'master'. Check item itself for reference not only children In a tree model structure child items where not checked for the reference to an object id at all. This change fixes that. FIXED-IN: 5.2 M +1 -0 kmymoney/mymoney/storage/mymoneymodel.h https://invent.kde.org/office/kmymoney/-/commit/f706b45c3e2e4b78d7d26fb00b8828a2e8f68e2a