GNOME Bugzilla – Bug 567174
Files with NIS stocks fail to open
Last modified: 2018-06-29 22:15:46 UTC
The patch introduced in v2.2.8 to correct the coding of the Israeli Shekel (NIS replaced by ILS) is incorrectly applying the re-coding to stocks/shares instead of just the currency commodity. This makes it impossible to open the accounts file in v2.2.8 - the stock commodity has its abbreviation incorrectly amended to ILS and any prices or accounts that try to use the NIS stock then generate parsing errors. To reproduce - create a new accounts file at 2.2.7 e.g using just the common accounts - add a new stock/share with an abbreviation of NIS - add a sample price for the new NIS stock/share - create an account that uses the new NIS stock/share as its commodity - save the accounts file - now try to open the accounts file in 2.2.8 and you'll get a parse error
Created attachment 126118 [details] Example accounts file that displays the problem
No, the problem is not new, you just did not use one of the other conversion mnemonics. Targeting for 2.2.9, the fix should be easy.
Or in other words: Thanks for reporting this problem. Indeed there has been a problem long ago, but fortunately because of your report we have now fixed it (r17805, awaiting back-port). The fix will be in the next version 2.2.9.
thanks guys - it only became an issue when i upgraded to 2.2.8 (been using gnucash since 1.8.x) so assumed that the problem was new :) i'll test 2.2.9 as soon as its available
2.2 branch, r17822. Thanks a lot!
Yep, forgot to say Thank You, Steve :-)
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=567174. Please update any external references or bookmarks.