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

CSV file downloaded from platform throws errors on attempts to upload #1140

Closed
aoduor opened this issue Jun 6, 2013 · 1 comment
Closed

Comments

@aoduor
Copy link
Member

aoduor commented Jun 6, 2013

Steps to reproduce:-

  • Download a CSV file from any deployment running 2.7
  • Attempt to upload it either on the very same deployment or another running 2.7

Expected result: Successful upload

Actual result: See screenshot
screenshot

Back info: http://forums.ushahidi.com/forums/topic/cannot-upload-report/

Tested this on my own deployment as well as https://adviceleeds.crowdmap.com/

@aoduor
Copy link
Member Author

aoduor commented Jun 6, 2013

Carriage return character causing problems once more.

screenshot

@aoduor aoduor closed this as completed in 684b67c Jun 6, 2013
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Nov 18, 2013
Really fix the new line issues in the CSV Importer this time, replace any
unicode new line character with \n.
rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Dec 2, 2013
Convert the file encoding to UTF-8.
Fall back to original data if preg_replace fails for some reason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant