Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct coordinate parsing logic for lat & long for several locales #254

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

vjrj
Copy link
Contributor

@vjrj vjrj commented Nov 11, 2024

Although #189 addressed the #188 issue of editing latitude and longitude fields in collections, some users are still experiencing an exception when modifying these fields:

[2024-11-11 09:32:49] [info] Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'latitude' at row 1

This PR proposes a different approach to fully resolve this issue by ensuring latitude and longitude values are consistently converted to valid double formats, independent of user locale. This aims to prevent data truncation errors by enforcing a standard format across all inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant