[Libreoffice-bugs] [Bug 123752] EDITING: Regression in handling of the group separator in formula context

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 30 19:20:07 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123752

--- Comment #8 from Jouni Kosonen <bugz.j at tukesoft.com> ---
(In reply to Eike Rathke from comment #6)
> What happens is that 12_345,67 (here with '_' for the no-break space) is
> lexically tokenized to
> 
> 12
> _345
> ,67
> 
> which then leads to three numbers 12 and 345 (because there in the number
> parser the no-break space is just a leading space) and 0,67 (from which
> stems the extra 0 because a leading decimal separator is allowed), which
> then with the formula tokens concatenated as strings produces 123450,67

That would explain the extra zero and also the Err:509 afterwards, since that
ends up producing three numeric tokens with no operators in between.

It doesn't explain *why* this happens or why it *doesn't* happen when there is
a decimal separator but no group separator.

Both 6.1 and 6.2 have now been released with this behavior and I can't find
anything related in gerrit, is this being worked on or should I just try to
figure out some kind of a fix myself?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190330/522dcabe/attachment.html>


More information about the Libreoffice-bugs mailing list