consistency check showing lots of NEW errors after saving file with new version

Thomas Baumgart thb at net-bembel.de
Wed Jan 22 08:57:41 GMT 2025


On Mittwoch, 22. Januar 2025 07:11:54 CET Ralf Habacker via KMyMoney-devel wrote:

> Hi Jack,
> 
> Am 22.01.25 um 02:12 schrieb Jack via KMyMoney-devel:
> > I just compiled a fresh version, and the first time I saved, the 
> > consistency check came up with over 4000 problems.  ALL are in 
> > investment accounts, several of which have been closed for many 
> > years.  I suspect it's an unintended side effect of the recent work on 
> > storing prices for add/remove share transactions.
> 
> with https://invent.kde.org/office/kmymoney/-/merge_requests/257 the 
> previously broken โ€˜fix versionโ€™ support was repaired. I suspect that one 
> of the existing fixFile_x functions with x < 5 is responsible for this. 
> To find this, you can modify your kmymoney file in xml format by first 
> setting the <FIXVERSION id=โ€˜xโ€™/> entry to x = 4, loading this file and 
> then running the consistency check. If no problems occur, decrement x 
> and repeat the whole process until the errors occur.

I added https://invent.kde.org/office/kmymoney/-/commit/94519cbe to
cope with the transition scenarios.

-- 

Regards

Thomas Baumgart

-------------------------------------------------------------
UTF-8 Test: The ๐Ÿˆ ran after a ๐Ÿ, but the ๐Ÿ ran away.
-------------------------------------------------------------
-------------- 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-devel/attachments/20250122/b074858f/attachment.sig>


More information about the KMyMoney-devel mailing list