eg at tzv.fal.de
Thu Feb 20 14:18:41 CST 2003
Thanx Christian, that was fast!!
On Thursday 20 February 2003 13:58, Christian Stimming wrote:
> Eildert Groeneveld wrote:
> > Hello Everyone
> > I would like to share the following with the developers:
> > It seems that a transaction is issued twice when a transaction gets
> > aborted at some stage. Lets look at the steps:
> Ouch. I didn't think of that before. Yes, this is probably a serious bug
> here. If the transaction is entered, but not fully executed, then it
> still stays in OpenHBCI's Job-Queue to be executed later. Since GnuCash
> doesn't yet have any OpenHBCI job queue management implemented, one
> needs to insert code for manually emptying that queue.
> Solution: In file src/import-export/hbci/dialog-hbcitrans.c between line
> 244 and 245 (i.e. right before HBCI_API_addJob) you need to insert the
> following three lines:
> HBCI_API_clearQueueByStatus (api, HBCI_JOB_STATUS_TODO);
> HBCI_API_clearQueueByStatus (api, HBCI_JOB_STATUS_NONE);
> HBCI_API_clearQueueByStatus (api, HBCI_JOB_STATUS_DONE);
> That should definitely remove the previous transaction order.
> Thanks for pointing this out. I'm very sorry I didn't think of this before.
Institute for Animal Science
Mariensee 31535 Neustadt Germany
Tel : (+49)(0)5034 871155 Fax : (+49)(0)5034 871 239
e-mail: eg at tzv.fal.de http://www.tzv.fal.de/~eg/
More information about the gnucash-devel