magento / magento/data-migration-tool

Cannot perform delta migration on multiselect attributes.

Open
#863 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

### Preconditions
1. Magento 1.9.4.2 to 2.4.1
2. Migration data tool 2.4.1

### Steps to reproduce
1. Create a required multi select attribute in Magento 1 and create products using this attribute.
2. Perform a single data migration.
3. Add more products in Magento 1 and fill this attribute.
4. Perform a delta migration

### Expected result
1. The new values are migrated

### Actual result
1. The new products are created but the value is not set for the multiselect attribute

### Additional notes
While trying to understand why the products didn't have the values I noticed that during the data migration step the values are correctly transferred from the `catalog_product_entity_text` to `catalog_product_entity_varchar` table however this is not hapepning in the delta migration.

On my install, the data for this attribute during the delta migration is filled on `catalog_product_entity_text` table by mistake.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing the delta migration handling for multiselect product attributes and compare its writes to catalog_product_entity_text and catalog_product_entity_varchar; reproduce the migration described in the issue. Done means newly added products retain their multiselect values after delta migration, with values in the expected table.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.