Property values change on each save
SummaryWhen user is filling a form and putting 0.5 for a decimal type property, the value getting changed to 5.
Error MessagesNot Applicable
Steps to Reproduce
- Create a decimal type property.
- Create a section with TextInput control and map the decimal property created above with this control.
- Run the section and enter any decimal value with 0 as the starting digit.
Root CauseA defect or configuration issue in the operating environment: The local system was configured with Turkish locale and the operator didn't had any locale mentioned. As a result, application was taking system's locale settings for processing Decimal data. in Turkish locale comma( ",") is used as decimal point and dot( ".") is used as separator, so when user is selecting 0.5 for a decimal property, the actual value for is set to 5.
ResolutionTo avoid this , you can mention a default locale for the operator(e.g- en_US) which will force application to take this locale settings into precedence.
Published August 3, 2016 - Updated August 23, 2017