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

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

Open
lqdung-lockon opened this issue Jul 23, 2018 · 2 comments
Assignees

Comments

@lqdung-lockon
Copy link

概要(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

@ryo-endo
Copy link

@lqdung-lockon
Step2's csv does not compatible with Importing csv format.
Please, give me the Step3's csv (you uploaded)

@lqdung-lockon
Copy link
Author

@ryo-endo -san

Please check, thank you!
product_20180723160459.zip

@nhpkhanh-lk nhpkhanh-lk changed the title [CORE][PLUGIN] There was a problem validating the value when uploading the csv product [CORE][PLUGIN] CSVアップロード時のデータバリデーションの問題 Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants