[kmymoney] [Bug 427519] New: Merge of Payees Deletes all Payees when an error occurs

Daryl Lautenschlager bugzilla_noreply at kde.org
Sat Oct 10 17:04:38 BST 2020


https://bugs.kde.org/show_bug.cgi?id=427519

            Bug ID: 427519
           Summary: Merge of Payees Deletes all Payees when an error
                    occurs
           Product: kmymoney
           Version: 5.0.8
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: dardo13 at charter.net
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE
1. Have a Payee with entries using multiple spellings (Petsmart, PetsMart,
PetSmart)
2. Merge all payees into a single spelling (PetSmart is the correct spelling)
3. 

OBSERVED RESULT  
An error popup occurs (unable to remove payee(s). 
Details.
Cannot remove payee that is still referenced to a transaction
/build/kmymoney-2XFvAS/kmymoney-5.0.8/kmymoney/mymoney/storage/mymoneystoragemgr.cpp:290

Click on OK

Click on another payee in the list.

Click on Petsmart, PetsMart or PetSmart and all transactions are gone.
Check accounts that used one of these as a payee and all entries for that payee
are gone.

EXPECTED RESULT

Post the error with some explanation of resolving it and do not delete all
entries under those Payees.


SOFTWARE/OS VERSIONS

Ubuntu Linux: 

ADDITIONAL INFORMATION

Because I had automatic backups, I was able to recover.  However there is no
way of knowing you will hit this error if you attempt a merge, so it can happen
at any time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list