2015-02-08 11:08 GMT+01:00 Florian Effenberger < [email protected]>:
> Hi, > > Volkan Gezer wrote on 2015-02-07 at 18:33: > >> '0.00' is not a number, only numbers can be accepted for this field, >> '0.00' is not a number, only numbers can be accepted for this field. >> > > I think these work if you exchange the "." to a ",", IIRC. Well, it only works as well as typing "0"; you still have to do it every single time you want to save a page. And I mean e-v-e-r-y s-i-n-g-l-e t-i-m-e. Even if you just corrected a typo in the text of the web page and haven't touched the Photo Shuffler tab page at all. The problem seems to be that when you go to the page in SilverStripe, the system always inserts the numbers in the fields using "." as decimal separator and even insists on adding decimals: 0 becomes "0.00", for instance. But the system itself does not accept "." as a decimal separator for *input*. So the system cannot read its own numbers and then objects to the user about that (!). My guess is that the bug is that the system uses some sort of English locale when it writes the numbers but uses the local locale when it reads them. The solution is to always use the same locale – be it some sort of English locale or the actual local locale – both when writing and reading these numbers. It should just be consistent, which it is not right now. Try switching locale to Danish, German, French, Swedish or a similar locale that uses "," as a decimal separator and see if you can reproduce it. Or simply find the program code that inserts the numbers in the number field and see that it probably does not respect the current locale when doing so. Jesper -- To unsubscribe e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/website/ All messages sent to this list will be publicly archived and cannot be deleted
