Bug 396987

Summary: Payee "Suggest a category" does not work
Product: [Applications] kmymoney Reporter: Brendan <KDE>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.2
Sentry Crash Report:

Description Brendan 2018-07-30 17:56:04 UTC
I'm running KMM compiled from the git master branch on July 30, 2018 on Fedora 28.

When I have a new Payee I normally assign a category in the ledger. I then go to the Payee and modify the name to my liking. Then I make sure the matching will work for my new Payee name. The next step is to set the default account. I click on "Suggest a category". In 4.8 this would fill in the category with the category that I set in the ledger. In the master it does nothing.

I ran KMM from a console and there is no output when I click "Suggest a category". The button is not grayed out (like the update button at the bottom if I haven't changed anything".
Comment 1 Brendan 2018-09-02 17:30:40 UTC
Has anyone confirmed this bug? Am I the only one using the feature. It would be nice if the fix made into 5.0.2. It's pretty annoying when I add a new payee since it's not trivial to scroll through all of my categories.
Comment 2 Thomas Baumgart 2018-09-02 18:32:24 UTC
Git commit a8949682c2f3dd85f956318f6f5f86da3819c933 by Thomas Baumgart.
Committed on 02/09/2018 at 18:32.
Pushed by tbaumgart into branch '5.0'.

Fix MyMoneyFile::isTransfer

Commit c224b2cf reverted the logic of this method so that parts of the
application did not work properly anymore. This change brings back the
original behavior.
FIXED-IN: 5.0.2

M  +2    -2    kmymoney/mymoney/mymoneyfile.cpp

https://commits.kde.org/kmymoney/a8949682c2f3dd85f956318f6f5f86da3819c933
Comment 3 Brendan 2018-09-03 16:12:06 UTC
Fixed. Thanks Thomas.