data-migration-tool icon indicating copy to clipboard operation
data-migration-tool copied to clipboard

Magento 2.4.3-p1 patch breaks data migration

Open barrybroom opened this issue 3 years ago • 5 comments

Magento 2.4.3-p1 patch breaks data migration. Two new fields 'customer_entity.session_cutoff' and 'customer_visitor.created_at' are added in this patch and cause two 'Destination fields not mapped' errors.

The same data migration configuration works in 2.4.3.

I have tried adding ignore field tags in the destination/field_rules section of map.xml, but this has no effect.

Running the data migration with the -auto option allows migration to complete. but customers are not migrated.

Preconditions

  1. Magento 2.4.3-p1
  2. Data migration tool 2.4.3

Steps to reproduce

  1. Prepare migration config
  2. Run php bin/magento migrate:data app/code/Company/Migration/etc/opensource-to-opensource/1.9.2.1/config.xml

Expected result

  1. Magento 1 data migrates to Magento 2 successfully

Actual result

  1. Data migration halts with 'Destination field not mapped' errors for fields 'customer_entity.session_cutoff' and 'customer_visitor.created_at'

barrybroom avatar Nov 12 '21 10:11 barrybroom

Hi @barrybroom. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Nov 12 '21 10:11 m2-assistant[bot]

@barrybroom were you able to resolve this ?

sajidunnar avatar Dec 02 '21 19:12 sajidunnar

Hi Sajid. No I was not able to resolve this. I had to revert to a previous backup of Magento 2.4.3, run the data migration from Magento 1 and then upgrade to 2.4.3-p1. Migrating using 2.4.3-p1 gives the field mapping errors.

barrybroom avatar Dec 03 '21 09:12 barrybroom

Thanks Barry for reply , I will do same

sajidunnar avatar Dec 03 '21 09:12 sajidunnar

Hi, any update about this bug?? Thanks

danihuge avatar May 25 '22 08:05 danihuge