Vote #77373
完了CSV import delimiter detection broken
0%
説明
When uploading a CSV file to import, the delimiter used in the CSV is supposed to be auto-detected.
However, "@File.read@":http://ruby-doc.org/core-2.2.0/IO.html#method-c-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.
journals
Thanks for the patch. Setting target version to 3.2.2.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------