Version: SVN trunk (using KDE 4.4.4) OS: Linux If you have two similar payees xxx, yyy and try to transfer all entities from yyy to xxx, you try to delete yyy and replace it by the xxx. But you can't remove some payee - kmm get this error. Sometimes you can merge both payees by remove xxx instead of yyy. But on some payees it didn't work and kmm can't remove nor xxx nor yyy. Reproducible: Sometimes Steps to Reproduce: 1.Open kmm 2.open Payees 3.Select some 4.press X (remove) button or right mouse button & "Delete payee" 5 Say Yes on answer 'do you want to remove payee xxx' Actual Results: Kmm open window with error "Can't remove payee" & remarks Cannot remove payee that is still referenced to a transaction добавлено /home/alex/src/kmymoney/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:215 Expected Results: kmm asks if i have to transfer any entities to other payee or remove it OS: Linux (x86_64) release 2.6.34.7-0.7-desktop Compiler: gcc
That is very strange, as all the logic is present and works well for me. So I expect some pecularities with your data. Please do the following: a) create an anonymized file (see manual how to do it) b) make sure that the problem still exists while using the anonymized version of the file it might be a bit tricky to find out which payee to delete. If unsure how to figure out, please ask here c) send a gzipped version of your anonymized file to me or the developer list for further analysis
Any news on this one?
Still no answer?
Created attachment 78922 [details] anon kmm file with delete payee bug
I have the same problem when deleting some payees even if they don't have any more transactions on them. I have created an attachment and the affected payees are P000068, P000109 and P000165. The error message when trying to delete them is: Cannot remove payee that is still referenced to a transaction thrown in /var/tmp/portage/app-office/kmymoney-4.6.3/work/kmymoney-4.6.3/kmymoney/mymoney/storage/mymoneyseqaccessmgr.cpp:215
I looked into the XML file and it might be a problem with split transactions that add an value X to an payee and remove the same value X directly after from the same payee and result in an value of 0. They seem to be hidden in any views i looked into so far. But this is just a guess, I hope it helps.