Created attachment 374206 [details] Account used to demonstrate the issue This was reported by Robin. The gist of it is that when importing an OFX file that has multiple target accounts (typically the case for securities) and an account has no transactions to match, the import process terminates prematurely without continuing to import transactions for all other accounts. Attached are a test account and ofx that demonstrate the problem.
Created attachment 374207 [details] Ofx file used to demonstrate the issue.
I debugged this and the issue is the info->response does not show "OK" when there are no transactions to review, so GC wrongly assumes the user pressed "CANCEL". The fix is simply to set info->response to the right value in that case.
Created PR https://github.com/Gnucash/gnucash/pull/1159 to fix this issue.
This fix worked for me. I also was able to complete all the steps I originally performed, this time the process worked to completion.
Fix PR 1159 merged into maint 13/10/2021, will be in GnuCash 4.9 planned release 2021-12-19. Thanks Jean.
*** Bug 798384 has been marked as a duplicate of this bug. ***
*** Bug 798404 has been marked as a duplicate of this bug. ***