プロジェクト

全般

プロフィール

Vote #77373

完了

CSV import delimiter detection broken

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
116
issue_org_id:
22583
author_id:
347
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
112
ステータス-->[Closed]

説明

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.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン3.2.2_116 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0