GNOME Bugzilla – Bug 333849
Since Last Run druid changes data before Apply
Last modified: 2018-06-29 20:59:10 UTC
The Since Last Run dialog/druid changes account data prior to the user pressing Apply and shouldn't. From IRC discussion: [11:30:11 pm] <hampton> The standard expected behavior for druids is that you can cancel at any time before clicking apply and your data will not be modified. Period. This druid modifies the data and puts it back which, while it sorta works, isn't the same thing.
Which data is it that is being changed prematurely?
All of it. All the transaction data is written to the accounts. If you're in the middle of the druid, you can open one of the accounts and the transaction(s) is(are) there. If you cancel out of the druid/dialog, the data written to the accounts is removed. If I understood hampton correctly, the druid shouldn't write to the accounts until the user presses Apply. Cancel should simply cancel the dialog, not have to undo everything that was done. FWIW, I think this is definately a post 2.0 bug.
This is all to support created-transaction review and SX obsoleting. We can't really determine the latter until we've run through the SXes, and -- more importantly -- we can't really display a list of transactions unless we actually create them ... unless we were to build up an entire parallel fake account tree and build the transactions against it, then have the register display those, and re-parent them afterwards. I think the fix here is to pare down the SLR druid, removing both created-txn review and the obsolete handling. Less/simpler code and no UI weirdness. This might happen in 2.0.
Obsolete on trunk, post-15399 (sx-cleanup branch merge). Didn't happen for 2.0, but 2.2.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=333849. Please update any external references or bookmarks.