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

Can't edit products after csv import [Magento 2.1.0] #5480

Closed
RG-1 opened this issue Jul 5, 2016 · 3 comments
Closed

Can't edit products after csv import [Magento 2.1.0] #5480

RG-1 opened this issue Jul 5, 2016 · 3 comments
Labels
bug report Component: ImportExport Component: Setup Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@RG-1
Copy link

RG-1 commented Jul 5, 2016

Steps to reproduce

  1. I am using Magento 2.1.0 (after update form Magento 2.0.7 using Setup Wizard + MDVA-532 patch).
  2. Before the update I had products created by import from csv file.
  3. After Magento update, I downloaded the same file from "System > Import History" and tried to import it (once without any change and once with changed names).
  4. Now I tried to see and edit products - "Products > Inventory: Catalog".

This is the first line from my csv file:

"sku","store_view_code","attribute_set_code","product_type","categories","product_websites","name","description","short_description","weight","product_online","tax_class_name","visibility","price","url_key","base_image","base_image_label","display_product_options_in","additional_attributes","qty","use_config_min_qty","use_config_backorders","use_config_min_sale_qty","use_config_max_sale_qty","is_in_stock","use_config_notify_stock_qty","use_config_manage_stock","use_config_qty_increments","use_config_enable_qty_inc","is_decimal_divided","website_id","additional_images","additional_image_labels","meta_title","meta_keywords","meta_description"

Expected result

  1. Products list should be accessible - "Products > Inventory: Catalog".

Actual result

  1. Products are not loaded and this is displayed:

Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "1" already exists.

  1. Same error is in system.log:

[date time] main.CRITICAL: Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "1" already exists. [] []

  1. Products are re-indexed, updated and displayed on the front end.
  2. There are no errors in the browser console.

I imported same file with changed "Import Behavior" to "Replace" and "Products > Inventory: Catalog" worked fine. After this I imported same file one more time with "Import Behavior" set to "Add/Update" and it worked too.

@OnTapKristjan
Copy link
Contributor

See #5418 for a temporary fix.

@vkorotun vkorotun removed the MX label Aug 4, 2016
@andimov andimov self-assigned this Aug 4, 2016
@andimov andimov removed their assignment Sep 2, 2016
@shiftedreality
Copy link
Member

Hi @RG-1

Thank you for reporting this issue.
I have created internal ticket MAGETWO-58075 to fix this issue.

@shiftedreality shiftedreality added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Sep 6, 2016
@shiftedreality
Copy link
Member

This issue will be fixed in scope of #5418
Closed as duplicate.

magento-engcom-team pushed a commit that referenced this issue Mar 24, 2020
[TR] [AR] Report account is unavailable after URL change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: ImportExport Component: Setup Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

6 participants