Bug 440845 - Importer should try matching existing account by the number that is stripped of any formatting
Summary: Importer should try matching existing account by the number that is stripped ...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: importer (show other bugs)
Version: 5.1.2
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-10 18:21 UTC by Dawid Wróbel
Modified: 2021-08-10 18:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Wróbel 2021-08-10 18:21:18 UTC
SUMMARY
When importing a statement, KMM tries to match the account number provided by the statement with a number of an existing account. However, it does a verbatim alphanumeric comparison, which will fail if the string of either side is formatted differently. 

STEPS TO REPRODUCE
1. Have an account A with a A' number provided (e.g. 111-2222-33)
2. Import a statement that references an account A with A" formatting (11122233)

OBSERVED RESULT
KMM won't automatically match A" with A' and will ask user to locate it manually on the list.

EXPECTED RESULT
KMM should match A" with A' and assign the transaction to A properly without user intervention.