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

Not possible to do an import via csv for locations containing negative integer or decimal fields #2044

Open
dpalomino opened this issue Aug 11, 2018 · 2 comments

Comments

@dpalomino
Copy link

dpalomino commented Aug 11, 2018

Steps to reproduce the error

  1. Create CSV file containing negative values for integer or decimal fields
  2. Try to import the data
  3. Enjoy the sanitization error
    "Error importing file at line 2: Input can not contain HTML tags, emojis or start with any of + - = and @."

This bug is also related to #1664 and #1613.

Actual behavior

See above

Expected behavior

Able to import negative integer or decimal values.

@dpalomino
Copy link
Author

This is the CSV file being used, as you can see in row 2 there is no negative or "special" char apart from the coordinates.
karet_1.csv.zip

@dpalomino
Copy link
Author

You were right @oliverroick, the geo fields are not sanitized. However this is failing with the negative values for decimal (and I presume integer as well).

Updating the original description and summary for clarity.

Thanks.

@dpalomino dpalomino changed the title Not possible to do an import via csv for locations containing negative lat or long values Not possible to do an import via csv for locations containing negative integer or decimal fields Aug 12, 2018
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

No branches or pull requests

1 participant