magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
336 stars 200 forks source link

Magento 2.4.3-p1 patch breaks data migration #884

Open barrybroom opened 2 years ago

barrybroom commented 2 years ago

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'
m2-assistant[bot] commented 2 years ago

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


sajidunnar commented 2 years ago

@barrybroom were you able to resolve this ?

barrybroom commented 2 years ago

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.

sajidunnar commented 2 years ago

Thanks Barry for reply , I will do same

danihuge commented 2 years ago

Hi, any update about this bug?? Thanks