gnucash/libgnucash/backend/xml
John Ralls 94a68dca7c Bug 797983 - v4.2 report numbers change over gnucash restarts;...
Price Database dropping user:price-editor entries.

A wider problem: QofInstance was unmarking itself dirty as long as the
backend raised an error and unconditionally marking itself non-infant.

This matters because the SQL backend depends on infant status to decide
whether to do an insert or update query; either will fail if the infant
status is wrong.

The price editor dialog clones a price having only its commodity set and
GncSqlPriceBackend declines to save if the currency isn't set. Since the
instance marked itself non-infant even though it wasn't saved subsequent
commits tried to use an update query and since the price wasn't in the
table that inevitably failed.

Requiring that QofBackend::commit should doing the marking-clean
required implementing it in the backends where it wasn't already.
2020-10-18 16:09:41 -07:00
..
test Replace the three bool parameters to qof_session_begin to an enum. 2020-06-04 14:07:28 -07:00
CMakeLists.txt Merge branch 'maint' 2020-02-06 16:50:08 +01:00
gnc-account-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-address-xml-v2.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gnc-address-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-backend-xml.cpp Delete QOF_STDOUT. 2020-06-04 14:07:28 -07:00
gnc-backend-xml.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-bill-term-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-bill-term-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-book-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-budget-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-commodity-xml-v2.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gnc-customer-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-customer-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-employee-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-employee-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-entry-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-entry-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-freqspec-xml-v2.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gnc-invoice-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-invoice-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-job-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-job-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-lot-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-order-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-order-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-owner-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-owner-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-pricedb-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-recurrence-xml-v2.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gnc-schedxaction-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-tax-table-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-tax-table-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-transaction-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-vendor-xml-v2.cpp Bug 797500 - valgrind errors - new/delete vs malloc/free 2019-11-17 09:55:51 +08:00
gnc-vendor-xml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-xml-backend.cpp Bug 797983 - v4.2 report numbers change over gnucash restarts;... 2020-10-18 16:09:41 -07:00
gnc-xml-backend.hpp Bug 797983 - v4.2 report numbers change over gnucash restarts;... 2020-10-18 16:09:41 -07:00
gnc-xml-helper.cpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-xml-helper.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-xml.h Restructure the src directory 2017-08-10 18:45:00 +02:00
io-example-account.cpp drop emacs_trailer from xml files. 2019-11-25 00:42:40 +01:00
io-example-account.h Restructure the src directory 2017-08-10 18:45:00 +02:00
io-gncxml-gen.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
io-gncxml-gen.h Restructure the src directory 2017-08-10 18:45:00 +02:00
io-gncxml-v1.cpp Fix a bunch of memory allocation errors found by clang static analysis. 2018-11-30 15:08:41 +09:00
io-gncxml-v2.cpp drop emacs_trailer from xml files. 2019-11-25 00:42:40 +01:00
io-gncxml-v2.h Restructure the src directory 2017-08-10 18:45:00 +02:00
io-gncxml.h Restructure the src directory 2017-08-10 18:45:00 +02:00
io-utils.cpp drop emacs_trailer from xml files. 2019-11-25 00:42:40 +01:00
io-utils.h drop emacs_trailer from xml files. 2019-11-25 00:42:40 +01:00
sixtp-dom-generators.cpp Add a +0000 offset to ISO8601 timestamps in the XML backend. 2019-05-27 14:51:06 -07:00
sixtp-dom-generators.h Remove time64_to_string and string_to_time64 and their tests. 2018-08-13 11:52:43 -07:00
sixtp-dom-parsers.cpp Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
sixtp-dom-parsers.h Converted timespec_to_dom_tree to time64 2018-01-08 13:01:29 +11:00
sixtp-parsers.h Restructure the src directory 2017-08-10 18:45:00 +02:00
sixtp-stack.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
sixtp-stack.h Restructure the src directory 2017-08-10 18:45:00 +02:00
sixtp-to-dom-parser.cpp Performance fix in dom_chars_handler: use g_strndup instead of g_strdup 2018-12-24 13:46:48 +01:00
sixtp-utils.cpp Fix warnings: missing sentinel in function calls 2020-09-06 00:50:54 -04:00
sixtp-utils.h Remove time64_to_string and string_to_time64 and their tests. 2018-08-13 11:52:43 -07:00
sixtp.cpp Fix a bunch of memory allocation errors found by clang static analysis. 2018-11-30 15:08:41 +09:00
sixtp.h Restructure the src directory 2017-08-10 18:45:00 +02:00
xml-helpers.h Restructure the src directory 2017-08-10 18:45:00 +02:00