After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682280 - bill/invoice importer fails to save imported bills/incoices
bill/invoice importer fails to save imported bills/incoices
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Backend - SQL
2.4.x
Other Mac OS
: Normal normal
: ---
Assigned To: John Ralls
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-20 17:00 UTC by Reuben Cummings
Modified: 2018-06-29 23:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reuben Cummings 2012-08-20 17:00:32 UTC
Invoices and bills import just fine. But, after posting them and restarting gnucash, neither the new invoices nor bills show up in the druid.

On reloading the sqlite file I see:

* 16:12:18  WARN <gnc.backend.sql> [load_invoice_guid()] Invoice ref
  '87c42b5bb338df5c665c49ce1d4422c4' not found
* 16:12:20  WARN <gnc.business.gnome> Can't find invoice
  87c42b5bb338df5c665c49ce1d4422c4 in current book.
* 16:12:20  WARN <gnc.business.gnome> Giving up on restoring 'Page 5'.
* 16:16:52  CRIT <gnc.backend.sql> gnc_sql_save_commodity: assertion
  `pCommodity != NULL' failed
* 16:16:52  CRIT <gnc.backend.sql> gnc_sql_save_commodity: assertion
  `pCommodity != NULL' failed
Comment 1 John Ralls 2012-08-20 23:57:40 UTC
There is a lengthy discussion of this issue, including steps to reproduce it, at http://gnucash.1415818.n4.nabble.com/Invoice-Importer-tp3591286p4397661.html
Comment 2 John Ralls 2013-09-13 23:36:55 UTC
Fixed in trunk: r23166.
Comment 3 John Ralls 2017-09-24 22:42:49 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 4 John Ralls 2018-06-29 23:10:11 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=682280. Please update any external references or bookmarks.