Skip to content

[CORE][PLUGIN] CSVアップロード時のデータバリデーションの問題 #135

@lqdung-lockon

Description

@lqdung-lockon

概要(Overview)

The price01 & price02 are not match with the validate.

期待する内容(Expect) or 要望 (Requirement)

The price01 & price02 are float number.
But when csv uploads validate, it is still valid integer type.

再現手順(Procedure)

Step 1: Go to product index
Step 2: Export csv
Step 3: Go to csv upload screen and upload this csv
Step 4: Get errors [2行目の通常価格は0以上の数値を設定してください。]

環境 (environment)

  • EC-CUBE: 3.n
  • PHP: 7.1
  • PHP server build-in
  • DB:
    • MySQL 5.7

関連情報 (Ref)

https://github.com/EC-CUBE/ec-cube/blob/experimental/sf/src/Eccube/Controller/Admin/Product/CsvImportController.php#L1121

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions