GNOME Bugzilla – Bug 703298
Opening an unposted invoice dirties the book
Last modified: 2018-06-29 23:17:05 UTC
Opening an unposted invoice marks the current book as dirty even if no change is ever made to the invoice. This happens when gnc_entry_ledger_load creates a blank ledger entry at the end of the invoice (so you can add a new item to the invoice). This causes the invoice and hence the book to be marked dirty. Note that when you save the file, this blank entry is not written out. This means that if you open a file that had an unposted invoice open when it was closed, it will be dirty immediately after opening it. Note that I'm using the XML backend, the SQL backends would have somewhat different behavior, but I suspect it is wrong too.
I can confirm this on the XML backend on Linux.
I also see this behaviour on Fedora 19, and even in 2.4.13.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=703298. Please continue processing the bug there and please update any external references or bookmarks.