GNOME Bugzilla – Bug 728841
XML backend does not always store KVP slots
Last modified: 2018-06-29 23:30:18 UTC
A new bug was discovered from enhancement request 728136. XML backend for address, entry, job, order, taxtable does not save KVP.
Created attachment 275019 [details] [review] Patch against maint tree
Comment on attachment 275019 [details] [review] Patch against maint tree Thank you for the patch! I have committed it to maint and master. Additionally I have implemented the safeguard as discussed in bug 728136.
Hi Geert, I think you didn't modify gncOrder.c for gncOrderCommitEdit to implement the safeguard.
Michalis, it pleases me that you proofread my follow-up commit, really :) I haven't forgotten about gncOrder. I deliberately omitted it. My motivation is that orders are not fully implemented right now. If they ever will, they will no doubt get their own feature code to prevent older gnucash versions from loading data files with orders in them. That feature code would then automatically prevent accidental loading of orders with kvp values. For all the other objects you spotted this doesn't hold true. These objects are in active use already and hence there won't be a broad feature tag for these objects. As such these needed a specific restriction on the kvp part only.
I didn't think of it that way, and of course you're right. By the way, I wasn't proofreading your code, I was just trying to make sure I have the latest master code after my checkout and decided to check on gncOrder (have no idea why :) )
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=728841. Please update any external references or bookmarks.