Bug 475841 - payees with different case not recognized until asking
Summary: payees with different case not recognized until asking
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 19:46 UTC by Jeremy Whiting
Modified: 2023-10-21 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Whiting 2023-10-19 19:46:10 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
If you enter a new transaction, but type the payee with slightly different case a popup asks if you want to add a new payee (but already has any existing payee's case in the question). If you click Yes, it adds a new payee with [1] at the end of the name.

STEPS TO REPRODUCE
1. Enter a transaction with an existing payee with one letter case changed. I.e. bank instead of Bank
2. Watch when the gui asks if you want to add "Bank" as a new payee.
3. Click Yes

OBSERVED RESULT
"Bank [1]" added to the list of payees.

EXPECTED RESULT
Either or both of:
1. Bank payee left alone, no new payee added.
2. bank corrected to Bank and no question about payee asked.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Archlinux
(available in About System)
KDE Plasma Version: Plasma6 built from git
KDE Frameworks Version: KF5 from arch packages, 5.110.0-1 currently
Qt Version: 5.15.11-1 from arch packages.

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2023-10-21 19:15:33 UTC
Git commit 26ad13afd0235e3c6a0e9172dc8279e6d1433847 by Thomas Baumgart.
Committed on 21/10/2023 at 21:15.
Pushed by tbaumgart into branch 'master'.

Fix case sensitive / case insensitive behavior of payee edit
FIXED-IN: 5.2

M  +12   -0    kmymoney/views/newtransactioneditor.cpp

https://invent.kde.org/office/kmymoney/-/commit/26ad13afd0235e3c6a0e9172dc8279e6d1433847