[Kmymoney-devel] Re: [PATCH] KBanking plugin: stripLeadingZeroes() removes not only leading zeroes
Martin Steigerwald
Martin at lichtvoll.de
Sat May 7 18:13:34 CEST 2011
Am Samstag, 7. Mai 2011 schrieb Thomas Baumgart:
> Hi,
Hi Thomas and Marek,
> on Friday 06 May 2011 20:50:58 Marek wrote:
> > Symptoms
> > ------------
> > When updating accounts via AqHBCI entries from two or more accounts
> > are merged into one account. The remaining accounts receive no
> > updates.
> >
> > A similar problem was reported on the kmymoney user list
> > http://mail.kde.org/pipermail/kmymoney/2011-April/000253.html.
> >
> > Versions affected
> > --------------------
> > 4.5.3 and probably others
> >
> > Description
> > --------------
> > in kmymoney/plugins/kbanking/mymoneybanking.cpp stripLeadingZeroes()
> > is used to remove leading zeros from bank routing and account
> > numbers. The resulting values are used to generate kbanking-acc-ref.
> > In addition to the leading zeroes the function incorrectly removes
> > also any digits after significant zeros. This can lead to a
> > situation where kbanking-acc-ref's of different accounts are not
> > unique, e.g. both stripLeadingZeroes(1205) and
> > stripLeadingZeroes(1204) yield 12.
> >
> > Consequently, when updating such accounts via AqHBCI updates from all
> > accounts with the same kbanking-acc-ref are merged into one account.
[...]
> > Please consider for inclusion.
>
> Done. Now in trunk. Thank you very much. I CC'ed the poster you refer
> to as well.
Thanks. I opened a debian bug report about it that asks for inclusion of
the patch.
Is there some way to see those acc-ref's to judge whether I really have
the same issue? It might take some time till I come around compiling
kmymoney with this patch included.
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20110507/fb02db4a/attachment-0001.sig
More information about the KMyMoney-devel
mailing list