Skip to content

Magento cannot handle it's own products export when importing to different installations #26891

Open
@ioweb-gr

Description

@ioweb-gr

Preconditions (*)

Magento 2.4
Two Magento instances: the first with Sample Data, the second without it

Case 1

Steps to reproduce (*)

  1. Use a standard installation with sample data deployed.
  2. Go to System -> Export and export all products.
  3. Go to a second installation without sample data deployed.
  4. Go to System -> Import and use the previously exported csv file.

Expected result (*)

I would expect the products to be imported to the new installation and the export function to provide a working csv file that can be used in any installation. In most systems that's the case except for Magento, so I think this could be considered more of a bug than a feature.
Products.zip

Actual result (*)

  • First of all I get errors about the missing configurable attribute color and size.
  • After creating or adding those attributes to the attribute set I receive an error about the missing options for those.
  • After creating the missing options for the configurable attributes in the backend, the products are created but the configurable products are missing their associations.
    Screenshot_25
    Case 2

Steps to reproduce (*)

  1. Create a csv file for mass import some new products with attribute options
  2. Use a second installation without Sample Data
  3. Go to System -> Import and use the previously created csv file.

Additional information
Some cases I could encounter for this scenario. I would like to mass import some new products in the system in the same installation so I take out an export of the current situation and clean up all lines.

I then append new lines similar to the ones that were exported for the new products with attribute options that I don't know if they currently exist in the system.

Expected result (*)

The new attribute options are appended to the currently existing attributes.

Actual result (*)

  • The system complains about the missing attribute options
  • After creating the missing options for the configurable attributes in the backend, the products are created but the configurable products are missing their associations.

Metadata

Metadata

Assignees

Labels

Area: Import / exportCDIssue recommended for the contribution dayComponent: ImportExportIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions