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

            Bug ID: 516879
           Summary: Cannot delete payee even without any transactions
    Classification: Applications
           Product: kmymoney
      Version First 5.2.1
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
After importing transactions and changing the name of a payee in the Ledger,
the original payee name still persists in the Payees view. Attempting to delete
the defunct payee from the Payees view sometimes results in an error. This
happens even if all transactions referencing the payee have been updated to a
different payee, and there are no longer any transactions referencing the
payee.

STEPS TO REPRODUCE
1. Import transactions (e.g. from a CSV file)
2. Change the name of a payee in the Ledger view
3. Select the old payee name in the Payees view, and click "Delete Payee"

OBSERVED RESULT
Dialog box appears with an error message:
Payee {{PAYEE NAME}} is still referenced and cannot be deleted
/builddir/build/BUILD/kmymoney-5.2.1-build/kmymoney-5.2.1/kmymoney/mymoney/mymoneyfile.cpp:2466

EXPECTED RESULT
Payee is successfully deleted.

SOFTWARE/OS VERSIONS
Fedora Linux 43 (KDE Plasma Desktop Edition) 43 (x86_64)

ADDITIONAL INFORMATION
This behavior is inconsistent. Some payees may deleted without issue, while
others may not. I have not been able to determine a pattern. This appears
similar to a much older bug report (#226261) that was closed, but without a
clear resolution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to