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 438132 - Warning about commodity being NULL for root account on save
Warning about commodity being NULL for root account on save
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
git-master
Other All
: Normal minor
: ---
Assigned To: David Hampton
Chris Lyttle
Depends on:
Blocks: backport
 
 
Reported: 2007-05-13 15:45 UTC by Andreas Köhler
Modified: 2018-06-29 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix this problem (1.50 KB, patch)
2009-01-29 21:20 UTC, Mike Alexander
committed Details | Review

Description Andreas Köhler 2007-05-13 15:45:39 UTC
Reproduce:
* Save a file

bt
  • #2 g_return_if_fail_warning
    at gmessages.c line 532
  • #3 commodity_ref_to_dom_tree
    at ../../../../repos/src/backend/file/sixtp-dom-generators.c line 103
  • #4 gnc_account_dom_tree_create
    at ../../../../repos/src/backend/file/gnc-account-xml-v2.c line 97
  • #5 write_one_account
    at ../../../../repos/src/backend/file/io-utils.c line 62
  • #6 write_account_tree
    at ../../../../repos/src/backend/file/io-utils.c line 80

Comment 1 Andreas Köhler 2007-05-30 21:41:57 UTC
Reassigning :-)
Comment 2 Mike Alexander 2009-01-29 21:20:55 UTC
Created attachment 127492 [details] [review]
Patch to fix this problem

This patch doesn't write the commodity, the commodity SCU, or the non-standard SCU setting for an account that has no commodity.
Comment 3 Christian Stimming 2009-01-31 19:50:29 UTC
trunk, r17866
Comment 4 Christian Stimming 2009-02-03 21:08:47 UTC
2.2-branch, r17874
Comment 5 John Ralls 2018-06-29 21:36:56 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=438132. Please update any external references or bookmarks.