GNOME Bugzilla – Bug 779864
Wreak havoc by changing account Commodity
Last modified: 2018-06-29 23:55:14 UTC
You can wreak havoc by changing an account commodity. Steps to reproduce: - Create any accounts of different commodities eg Bank1-GBP, Bank2-USD or Bank-USD, Stock-MSFT - Create any transaction between these two accounts - From any of these accounts, EDIT ACCOUNT > COMMODITY - change Commodity to anything else (eg EUR AAPL etc) You can create further transactions, amend existing ones. They will use the new commodity, but price table is not updated. I've also managed to damage its internal logic leading to cases whereby pressing ENTER while editing a transaction does NOT update it. Pressing ENTER does *nothing* - cursor remains as it is. Can't reproduce this one particular behavior. My suggested fix: - Disallow changing the account commodity if it contains any splits.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 603379 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=779864. Please update any external references or bookmarks.