r19804 - gnucash/trunk/src/import-export/aqbanking - Fix crash when using the function "Import DTAUS and send". The actual function is still implemented, though.

Christian Stimming cstim at code.gnucash.org
Sat Nov 13 16:23:06 EST 2010


Author: cstim
Date: 2010-11-13 16:23:06 -0500 (Sat, 13 Nov 2010)
New Revision: 19804
Trac: http://svn.gnucash.org/trac/changeset/19804

Modified:
   gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c
   gnucash/trunk/src/import-export/aqbanking/gnc-file-aqb-import.c
Log:
Fix crash when using the function "Import DTAUS and send". The actual function is still implemented, though.

Modified: gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c	2010-11-13 21:22:55 UTC (rev 19803)
+++ gnucash/trunk/src/import-export/aqbanking/gnc-ab-utils.c	2010-11-13 21:23:06 UTC (rev 19804)
@@ -918,7 +918,7 @@
     data->execute_txns = execute_txns;
     data->api = api;
     data->parent = parent;
-    data->job_list = NULL;
+    data->job_list = AB_Job_List2_new();
     data->generic_importer = NULL;
 
     /* Import transactions */

Modified: gnucash/trunk/src/import-export/aqbanking/gnc-file-aqb-import.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/gnc-file-aqb-import.c	2010-11-13 21:22:55 UTC (rev 19803)
+++ gnucash/trunk/src/import-export/aqbanking/gnc-file-aqb-import.c	2010-11-13 21:23:06 UTC (rev 19804)
@@ -219,6 +219,7 @@
         if (gnc_ab_ieci_run_matcher(ieci))
         {
             /* FIXME */
+            g_error("Sorry, executing the list of imported jobs is not yet implemented.");
             /* gnc_hbci_multijob_execute(NULL, api, job_list, gui); */
         }
     }



More information about the gnucash-changes mailing list