Bug 426511

Summary: Payee Partial Match not working as intended
Product: [Applications] kmymoney Reporter: Suresh PB <spillaip>
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: spillaip
Priority: NOR    
Version: 5.0.6   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Payee definition
Ledger showing imported transactions -- unmatched

Description Suresh PB 2020-09-14 06:19:02 UTC
Created attachment 131624 [details]
Payee definition

SUMMARY
Setup a payee with Matching option as "Match Payees name (Partial)".  Importing the transaction with payee having partial match is not working.

STEPS TO REPRODUCE
1. Create a Payee "   TRANSFER CREDIT" -- with leading spaces
2. Import transaction with payee as "   TRANSFER CREDIT-SWEEP FROM"

OBSERVED RESULT
Ledger indicates the payee name as imported


EXPECTED RESULT
Payee name should be "   TRANSFER CREDIT"

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Tried the variants without leading spaces, but no effect.
Comment 1 Suresh PB 2020-09-14 06:19:50 UTC
Created attachment 131625 [details]
Ledger showing imported transactions -- unmatched
Comment 2 Suresh PB 2020-10-19 15:30:17 UTC
Any help is greatly appreciated
Comment 3 Jack 2020-10-19 20:37:50 UTC
I'm not sure why this isn't working as expected, but have you tried the last matching option "Match on name listed below"?  However, if you do that, just put "TRANSFER CREDIT" without the "*" as the name to match.
Comment 4 Suresh PB 2020-11-03 15:36:02 UTC
(In reply to Jack from comment #3)
> I'm not sure why this isn't working as expected, but have you tried the last
> matching option "Match on name listed below"?  However, if you do that, just
> put "TRANSFER CREDIT" without the "*" as the name to match.

Tried, but still not working.  Updated to the latest stable build, still same issue.