Configured decimal separator not used correctly when importing float values #10580
Labels
Area:Import
Issues & PRs related to all things regarding Importing
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
When importing a data file with a column that corresponds to a float field, if the decimal separator that the user has is different from the dot symbol (.), the imported value for the float field is not correct.
Possible Fix
Implement the solution that is applied with decimal fields in the importSanitize() function of the include/SugarFields/Fields/Float/SugarFieldFloat.php file
Steps to Reproduce the Issue
Context
No response
Version
7.14.6
What browser are you currently using?
Firefox
Browser Version
131.0.3 (64-bit)
Environment Information
MySQL, PHP Version 8.2
Operating System and Version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: