diff --git a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp index 19ee0ad773f..aadd5b4f5c9 100644 --- a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp +++ b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp @@ -2084,6 +2084,8 @@ CsvImpTransAssist::assist_match_page_prepare () draft_trans->trans = nullptr; } } + /* Show the matcher dialog */ +// gnc_gen_trans_list_show_all (gnc_csv_importer_gui); } diff --git a/gnucash/import-export/import-backend.c b/gnucash/import-export/import-backend.c index 6cffb908091..df9410999ba 100644 --- a/gnucash/import-export/import-backend.c +++ b/gnucash/import-export/import-backend.c @@ -1122,6 +1122,10 @@ gboolean gnc_import_exists_online_id (Transaction *trans, GHashTable* acct_id_ha /* Look for an online_id in the first split */ source_split = xaccTransGetSplit(trans, 0); g_assert(source_split); + + // No online id, no point in continuing. We'd crash if we tried. + if (!gnc_import_get_split_online_id (source_split)) + return FALSE; // Create a hash per account of a hash of all transactions IDs. Then the test below will be fast if // we have many transactions to import. dest_acct = xaccSplitGetAccount (source_split);