On Sep 7, 2014, at 2:06 PM, Christian Stimming <christ...@cstimming.de> wrote:

> Hi John,
> 
> recently I noticed the "trans-retrieval" slot in the aqbanking account 
> doesn't 
> remember its value. 
> 
> I now added a unittest that indeed shows that the getter function from import-
> export/aqb/gnc-ab-kvp.h doesn't return the same value that I've inserted in 
> the setter. However, your unittest in test-engine-kvp-properties.c indicated 
> that the "ab-trans-retrieval" property with the GNC_TYPE_TIMESPEC type works 
> fine. 
> 
> Do you happen to have any idea why it doesn't work fine when called by the 
> gnc-ab-kvp.[hc] functions, even though your test in 
> test-engine-kvp-properties 
> seemed to work? Thanks a lot in advance!

Christian,

Yeah, fixed and pushed, e210f8c.

The difference was that your test used the defective accessor function and mine 
used qof_instance_get directly with the right parameter type (Timespec ** 
instead of Timespec *).

Regards,
John Ralls


_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to