Project

General

Profile

Actions

Defect #22583

closed

CSV import delimiter detection broken

Added by Jan from Planio www.plan.io over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When uploading a CSV file to import, the delimiter used in the CSV is supposed to be auto-detected.

However, File.read seems to not be used properly: The third parameter may not be a string.

This is rescued in the block and therefore, the user does not see the error. However, the auto-detection does not work.

Attached is a simple patch that fixes this.


Files

fix_csv_autodetection.patch (484 Bytes) fix_csv_autodetection.patch Jan from Planio www.plan.io, 2016-04-19 16:38
Actions #1

Updated by Go MAEDA over 8 years ago

  • Status changed from Needs feedback to New
  • Target version changed from Candidate for next minor release to 3.2.2

Thanks for the patch. Setting target version to 3.2.2.

Actions #2

Updated by Go MAEDA over 8 years ago

  • Resolution deleted (Fixed)
Actions #3

Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks.

Actions

Also available in: Atom PDF