Cryptic error message when merging recipients
Thomas Baumgart
thb at net-bembel.de
Sun Mar 30 07:46:58 BST 2025
On Samstag, 29. März 2025 19:00:49 CEST Martin Steigerwald via KMyMoney wrote:
> Hi Jack, hi.
>
> Jack via KMyMoney - 29.03.25, 17:17:51 CET:
> > On 3/29/25 12:05 PM, Martin Steigerwald via KMyMoney wrote:
> > > When I go about merging recipients to clean up different spellings of
> > > the same real recipient I sometimes get a cryptic error message.
> > >
> > > Cannot remove payee P[…] that is still referenced to transaction T[…]
> > > ./ kmymoney/mymoney/storage/mymoneystoragemgr.cpp:280
> >
> > First question is which version are you using? If you are using a 5.1
> > version, what happens if you try a development/master version?
>
> Version 5.1.3.
>
> I am not sure I want to compile a development/master version at this
> moment.
No need to do that: the KDE CI/CD builds a directly executable one-file
AppImage version that you can try out. See https://kmymoney.org/appimage.html
for details.
[...]
> As I started KMyMoney again to try the find transaction hint from you,
> KMyMoney displayed lots of transactions for that payee. So it seems after
> a failure to merge payees KMyMoney seems to become confused when being
> asked to display transactions for the payee that was about to be deleted.
>
> It would be better if this was atomic. Either fully merged or either not
> merged at all. However as KMyMoney did not complain about saving changes
> and the save button was grayed out, actually I still had the state before
> the failed merging.
The code (master) shows that this is an 'atomic' operation. What you experience
could be a display problem on the 5.1 version which may already been resolved
in master, because the code has been refactored a lot in data/display handling.
So another good reason to try it out.
--
Regards
Thomas Baumgart
-------------------------------------------------------------
'Either toss the Windows out of your computer,
or toss your computer out the window!' -- Richard Stallman
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20250330/c47e10f1/attachment.sig>
More information about the KMyMoney
mailing list