[Kmymoney-devel] Bug: SQLite storing Bi-weekly as weekly?

Tony Bloomfield tonyb.lx at ntlworld.com
Fri Jan 27 12:24:31 UTC 2012


On Tue, 24 Jan 2012 16:54:32 -0500
Eric Bonney <mailinglists at vanhlebarsoftware.com> wrote:
> In working on my project this afternoon I think I may see a bug?
> Looking at my raw sqlite data I have schedules that have an
> occurenceString of Every Other Week, but the occurrence column shows
> 4.
> 
> Now looking at the mymonyschedule.h file is looks like OCCUR_WEEKLY
> is 4 and OCCUR_EVERYOTHERWEEK is supposed to be 8.

Looking at the latest source code I have, the database module does not
do any specific processing here. It just stores the values it receives
from the MyMoneySchedule object 'get' methods. Perhaps this stores it as
weekly with a multiplier of 2?

-- 
Cheers,
Tonyb


More information about the KMyMoney-devel mailing list