Status: Accepted
Owner:
[hidden email]
Labels: Type-Defect Priority-Medium GLASS-Server Version-1.0-beta.8
Milestone-1.0-beta.8.6
New issue 230 by
[hidden email]: Number class>>readFrom: fails when
Locale class>>decimalPoint not '.'
http://code.google.com/p/glassdb/issues/detail?id=230While debugging Max Leske's report about test failures that hadn't
reproduced in my test environment:
http://forum.world.st/failing-tests-td3244020.htmlspecifically, SqueakTests>>#testReadFrom.
Upon code inspection, Number class>>readRemainderOf:from:base:withSign:,
directly checks for a $. when parsing Floats, which means the parser fails
if a Locale uses a different decimalPoint character...
In Max's description of the problem he mentions the value of the
ScaledDecimal was "'34,' (yes, a comma, no fraction)" which implies that
the printString for ScaledDecimal uses the Locale to create the
printString...
Need to have a test environment with multiple locale's installed so I can
flush these problems out.