GNOME Bugzilla – Bug 308554
strange monetary values when typing characters in the value field
Last modified: 2018-06-29 20:52:36 UTC
Version details: 1.8.10 Distribution/Version: debian If you type a value, say "1" in the money field of a txn, and the char ç or Ç follos the numbers, a very big number appears in the field when saving the txn or moving to another field: 1ç -> -31.873.569.403.954.887,28 1Ç -> 82.157.921.267.628.690,24
the fact is important for me becaus in my keyboard the ç is in a "dangerous" position, i.e., it's easy for me to press it inadvertently
Development on 1.8.x has stopped now, so we won't fix anything there. Does this problem still occur in 1.9.x/SVN? I'd guess it doesn't but that needs to be verified.
Yes, this bug still exists in 1.9.3. However, it's quite a bit more general than the original report. Any trailing letters at all will yield random numbers. This is closely related to bug#334811 but we don't seem to have any failing test cases written for this one yet.
Fixed in r13715 (1.9.4): the expression parser no longer allows "1 ç" as an expression.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=308554. Please update any external references or bookmarks.