On Sunday, January 6, 2019 4:55:09 AM CET Alex Aycinena wrote: > Geert, > > I have been investigating bug # 796687 (Tax Entity name and type for an > account won't work under "Tax Reporting Options" in Gnucash 3.2) and it > seems that your commit 4053f2ca5331b345f04f75022658d254c36bdd15 on Mar 31, > 2018, has caused book string options not to work. I ran gnucash under gdb > and got the following: > > qof_book_set_string_option (book=0xb49af0, > opt_name=0x7fffefcd57e9 "book/tax_US/type", opt_val=0x2600640 "F1040") > at > /home/gnucash-dev/gitcheckouts/gnucash-acct-maint-latest/libgnucash/engine/q > ofbook.cpp:1163 1163 qof_book_begin_edit(book); > > going into the function. The book, opt_name and opt_val all seem fine but > the KVP is not saved. When I checked-out the commit just prior to yours, it > seems to work fine: the data is saved and retrieved as expected. After your > commit, it seems to stop working. > > I tried to analyze your commit but I'm not sure I understand it. Perhaps > you could help me understand it. The funny thing is, the unit test seems to > pass. > > Can you help me figure out why it is not working? > > Thanks, > > Alex
Alex, I'm not at my development machine until Wednesday. I'll get back to this later this week. Geert _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel