-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Inconsistent CSV file Import error: #7495
Comments
I did some deeper investigation. |
@Nym77 thank you for your report. |
@veloraven Magento 2.1.2 CE I looked more into that and i found that a product what containing in the short description a " . This was a regular " not a curly one. However it was messing with the csv file. Still the error report in magento was completely misleading as it was pointing to the wrong kind of error and to the wrong row. Is there any documentation regarding the proper formatting of a csv file? |
@Nym77 thank you for the update. |
@Nym77 I had exactly the same problem today. My product CSV file was fine, but for some reason I got the error message After two hours of headache I ended up using Google Spreadsheet.
In my case I had to remove new lines for the column
So it looks like TextEdit on OSx just broke the CSV format all the time during search / replace operations. I didn't try vim or nano. |
Hi, @Nym77. Internal ticket MAGETWO-{70803}, which tracks this GitHub issue, is in our issue backlog. |
@Nym77, thank you for your report. |
This issue was moved to magento-engcom/import-export-improvements#48 |
for anyone coming across this issue, for me it was caused by having " in any of the columns that are text based for example description and short_description |
- Fixed an issue with dublicated file validation;
- Added automated test script
- Updated automated test script
- Fixed [FT] Not pass functional test \Magento\Catalog\Test\TestCase\Product\ProductTypeSwitchingOnUpdateTest - Fixed [GITHUB] Inconsistent CSV file Import error: #7495 - Fixed Incorrect behavior in the category menu on the Storefront
I am using a standard Luma installation with example and I am trying to add products in magento using an automatic generated csv file.
If I use the file BB-ProductsWorking.csv I am able to import the products and file is parsed without errors.
If I am using the file BB-Products.csv I obtain the following error ( Curly quotes used instead of straight quotes in row(s): )
If I remove the rows from the above file the error does not disappear but is present in 4 different rows
Please note also that all files are formatted using the same program and in particular raw 1 and 2 in both BB-ProductsWorking.csv and BB-Products.csv are identical. Therefore they both should be correctly parsed.
Preconditions
Steps to reproduce
Expected result
Actual result
files for reproducing the behaviour
BB-Products.zip
The text was updated successfully, but these errors were encountered: