gnucash maint: Bug 795944 - Cannot store change to Business Suppliers data
Geert Janssens
gjanssens at code.gnucash.org
Sat Jun 23 07:25:08 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/a438a595 (commit)
from https://github.com/Gnucash/gnucash/commit/92ea3ba8 (commit)
commit a438a59513c703e320189f542b598d84ef21eb41
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sat Jun 23 13:15:38 2018 +0200
Bug 795944 - Cannot store change to Business Suppliers data
The underlying problem was that the vendor object remained in infant state
That confused the backend code so it used an sql INSERT statement instead
of an UPDATE statement to write back the changes. As the object already
existed in the db this would fail.
The fix is to ensure the object doesn't remain in infant state during
sql loading. See the bug report for a more detailed explanation.
Summary of changes:
libgnucash/backend/sql/gnc-sql-column-table-entry.hpp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
More information about the gnucash-patches
mailing list