Summary: | Transaction contains erroneous *** UNASSIGNED *** in Tags view if no payee is given | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Christian David <christian-david> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | mk-lists, ostroffjh |
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/97e3186babf1d4426f5fbd2cd9c9a6da459ea37d | Version Fixed In: | 5.0.3 |
Sentry Crash Report: | |||
Attachments: |
Screenshot with the error
How I created the transaction |
Description
Christian David
2015-05-13 20:32:58 UTC
I tried hard to duplicate this in master but to no avail. Can you provide screen shots and/or a sample file? I can reproduce this with Version 4.7.90-826bb6aa03 (from the end of February) which is the latest version I have compiled. Thanks, can you also tell me what you do to reproduce it? Thanks. @Jack: that version btw. dates back into November 2014, so you must not have run cmake after that time. See http://quickgit.kde.org/?p=kmymoney.git&a=commit&h=826bb6aa03a4dfdb0efd4478ac272fbf7562067d That's strange. My actual git head is at 3ddd280b4d93cb15de437837be46add19b69bba1 from 27 Feb 2015. I always run ccmake after updating and before compiling - does that not do the same as cmake? (your link to quickgit is for something apparently unrelated, but I do remember the issue of needing an extra step to get the about version updated) To reproduce, it's just as in the original report. Create a transaction with a tag and a category, but no payee. Select the Tags view and select the tag you put on that transaction. In the list at the right, it shows *** UNASSIGNED ***. I'm going to update to git master and try again - hopefully by later today. Created attachment 92661 [details]
Screenshot with the error
Here is a screenshot of the issue, build with d4065b9.
Created attachment 92662 [details]
How I created the transaction
"Spenden" is the category.
I reran ccmake and recompiled. Now the about dialog shows the correct (27 Feb) update, but I cannot recreate the problem. It's the same version I was running earlier, as far as I can tell by all the file dates, so I had not updated the source. However, various utilities on my system have certainly been updated, although I can't think why that would be relevant. Also, I've now updated to the latest source from git, but the about dialog is still showing the 27 Feb commit. I've tried both 'ccmake .' and 'ccmake ../source' from my out of source build directory. I didn't think a make clean was necessary, but if I don't find the exact command to use, I'll have to try that next. I finally got git head compiled and properly showing in the about dialog. I can no longer reproduce the problem. I'm using git master. I suspect my about dialog issues are related to installing in a non-standard location for testing git head and keeping it separate from my main distro installed version. I had to do an explicit uninstall and then reinstall for the update commit to be displayed. However, I don't think that is relevant to the actual topic of this bug. Git commit 97e3186babf1d4426f5fbd2cd9c9a6da459ea37d by Thomas Baumgart. Committed on 03/01/2019 at 16:34. Pushed by tbaumgart into branch '5.0'. Fix transaction register display in tags view In case a transaction had a tag assigned, an amount differing from zero, a category assigned but no payee, the register in the tags view showed wrong results. This fixes the behavior so that the memo is shown instead of the erroneous text "*** UNASSIGNED ***" FIXED-IN: 5.0.3 M +8 -5 kmymoney/widgets/stdtransaction.cpp https://commits.kde.org/kmymoney/97e3186babf1d4426f5fbd2cd9c9a6da459ea37d |