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

Need to ignore new tables to Migration Tool map.xml #27

Closed
fabrice-dresscodes opened this issue Aug 8, 2024 · 3 comments
Closed

Need to ignore new tables to Migration Tool map.xml #27

fabrice-dresscodes opened this issue Aug 8, 2024 · 3 comments

Comments

@fabrice-dresscodes
Copy link

fabrice-dresscodes commented Aug 8, 2024

Preconditions (*)

  1. PHP8.2 / Nginx / Magento 2.4.7-p1

Steps to reproduce (*)

php8.2 bin/magento migrate:data app/code/XXXX/Migration/etc/opensource-to-opensource/1.7.0.2/config.xml -r

Expected result (*)

Destination documents are not mapped : XXXX should be empty

Actual result (*)

Destination documents are not mapped: sales_data_exporter_order_statuses,sales_data_exporter_orders,sales_order_data_exporter_cl,sales_order_status_data_exporter_cl,store_data_exporter_cl

You should add to the migration tool / map.xml :

....
<destination> <document_rules> <!-- Module data-store-exporter--> <ignore> <document>stores_data_exporter</document> </ignore> <ignore> <document>store_data_exporter_cl</document> </ignore> <ignore> <document>sales_order_status_data_exporter_cl</document> </ignore> <ignore> <document>sales_data_exporter_orders</document> </ignore> <ignore> <document>sales_data_exporter_order_statuses</document> </ignore> <ignore> <document>sales_order_data_exporter_cl</document> </ignore> <ignore> <document>data_exporter_uuid</document> </ignore> <ignore> <document>payment_services_order_data_production_submitted_hash</document> </ignore> <ignore> <document>payment_services_order_data_sandbox_submitted_hash</document> </ignore> <ignore> <document>payment_services_order_status_data_prod_submitted_hash</document> </ignore> <ignore> <document>payment_services_order_status_data_sandbox_submitted_hash</document> </ignore> <ignore> <document>payment_services_store_data_production_submitted_hash</document> </ignore> <ignore> <document>payment_services_store_data_sandbox_submitted_hash</document> </ignore>
....

@fabrice-dresscodes fabrice-dresscodes changed the title Need to add new table to Migration Tool map.xml Need to ignore new tables to Migration Tool map.xml Aug 8, 2024
@duhon
Copy link
Contributor

duhon commented Feb 13, 2025

@fabrice-dresscodes I don't know much about the tool, but judging by the description, it's a migration from M1 to M2. I don't understand how a migration from M1 is related to an exporter extension that is installed additionally to M2.

@fabrice-dresscodes
Copy link
Author

Hi @duhon

Yes it's related to module data-migration-tool.

But commerce-data-export module is a core module right ? So it should be compatible with the data-migration-tool.
And if that module add new tables, they need to be ignore in the data-migration tool.

Or do you suggest I need to move that issue to https://github.com/magento/data-migration-tool/issues ?

@duhon
Copy link
Contributor

duhon commented Feb 13, 2025

@fabrice-dresscodes I believe this issue should be created in the https://github.com/magento/data-migration-tool/ repository because this repository does not contain the modules that include the tables you mentioned, and this modules are not installed by default. The tables you mentioned come with the Payment Services. I see that they depend on one of the modules from this repository, but your issue cannot be resolved here.

@duhon duhon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants