Summary: | KMyMoney crashes when navigating backwards through CSV import wizard | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | David <solbeziel> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | me, nate, solbeziel, tbaumgart |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.0.3 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/commit/9a104e1be3617b5ecfda9753ffa8d71c9d5458d8 | Version Fixed In: | 5.1.0 |
Sentry Crash Report: | |||
Attachments: |
csvimportrc with column mappings used
CSV file used to cause a crash |
Description
David
2020-05-28 21:11:02 UTC
Please try to update to 5.0.8 (at least) as this problem may have been resolved in the meantime. If the problem still persists, please report that here. Thanks. As Thomas said, there have been numerous enhancements and fixes to the csv importer since 5.0.3, which is a year and a half old. 5.0.8 is the current stable version, but I don't know how easy it is to upgrade with Debian 10 Buster. Debian 11 Bullseye and Debian Sid both seem to have 5.0.8 available. You might also try an appimage version from https://kmymoney.org/appimage.html. I actually saw that myself and am convinced this bug hasn't been fixed yet. That having said, I wasn't able to reproduce each time this happened. David, can you please provide a sample file with your column mappings and the exact steps you take so that I can reproduce it on my end? Created attachment 129270 [details]
csvimportrc with column mappings used
Change: "Directory=" was changed to ~ remove the name of my financial institution.
Created attachment 129271 [details]
CSV file used to cause a crash
(In reply to Dawid Wróbel from comment #3) > I actually saw that myself and am convinced this bug hasn't been fixed yet. > That having said, I wasn't able to reproduce each time this happened. > > David, can you please provide a sample file with your column mappings and > the exact steps you take so that I can reproduce it on my end? I have attached the csvimportrc containing the column mappings and a CSV file that can be used to cause the crash. Sensitive information was redacted from the CSV file, but I tested it before and after redactions with the same result. To reproduce: 1) open CSV import wizard 2) select "Banking" 3) select "Credit Union CSV" profile 4) select the "redacted.csv" file to import 5) move forward through the wizard (no changes necessary) 5) move backward to the first page of the wizard as though to select a different file. 6) No need to actually select a different file. Just continue navigating forward again. Crash will occur before reaching the final page of the wizard. As long as I do not move back to the first page, the crash will not occur and the import will be successful. This weekend, I am planning on upgrading my OS to Debian 11 (testing), so I will no longer be able to contribute further to this bug with Debian 10 (stable). However, I will be able to test and see if the bug still exists with Debian 11. Git commit 1bcad05dcab4b1389b2ee86a2d81660df20e7cd2 by Thomas Baumgart. Committed on 13/06/2020 at 06:23. Pushed by tbaumgart into branch 'master'. Fix crash in CSV importer Make sure to always use an up-to-date pointer to the profile object and update the current memo selection whenever the wizard page is entered. M +7 -7 kmymoney/plugins/csv/import/bankingwizardpage.cpp https://invent.kde.org/office/kmymoney/commit/1bcad05dcab4b1389b2ee86a2d81660df20e7cd2 Git commit 9a104e1be3617b5ecfda9753ffa8d71c9d5458d8 by Thomas Baumgart. Committed on 13/06/2020 at 06:25. Pushed by tbaumgart into branch '5.1'. Fix crash in CSV importer Make sure to always use an up-to-date pointer to the profile object and update the current memo selection whenever the wizard page is entered. FIXED-IN: 5.1.0 (cherry picked from commit 1bcad05dcab4b1389b2ee86a2d81660df20e7cd2) M +7 -7 kmymoney/plugins/csv/import/bankingwizardpage.cpp https://invent.kde.org/office/kmymoney/commit/9a104e1be3617b5ecfda9753ffa8d71c9d5458d8 *** Bug 404174 has been marked as a duplicate of this bug. *** |