Bug 511606 with loan repayment with scheduled transactions

JeB2009 jbbrel at yahoo.fr
Wed Nov 18 10:25:31 EST 2009


Because i have the same problem, i have searched a correction into source
code.
Like ggeens comment's, i think that it is the instance count :
sx:instanceCount isn't incremented on each occurrence.

I have modified fonctin increment_sx_state  into gnc-sx-instance-model.c
file (2.2.9 release) :
L.882 <    *instance_count = gnc_sx_get_instance_count(inst->parent->sx,
inst->temporal_state);
L.882 >    *instance_count = gnc_sx_get_instance_count(inst->parent->sx,
inst->temporal_state) + 1;

It allows to increment the instance count correctly.
After some tests, it seems to work for me, but i am not sure about side
effects.

Could someone confirm this modification ?

And after, how can i commit this change into 2.2.9 release branch ?

Thanks you,
Jean-Baptiste.
-- 
View this message in context: http://old.nabble.com/Bug-511606-with-loan-repayment-with-scheduled-transactions-tp26408404p26408404.html
Sent from the GnuCash - Dev mailing list archive at Nabble.com.



More information about the gnucash-devel mailing list