Magento 2 - Migration tool - Destination fields are not mapped

孤者浪人 提交于 2019-12-08 02:48:14

问题


I'm trying to use the Data Migration Tool to migrate a site from 1.9.2.2 to 2.0.5. I was able to solve numerous 'Source fields not mapped' errors editing the map.xml file, but can't shift the error;

Destination fields are not mapped. Document: sales_creditmemo. Fields: base_shipping_hidden_tax_amnt

Error screenshot

I've tried adding;

        <ignore>
            <document>sales_creditmemo.base_shipping_hidden_tax_amnt</document>
        </ignore>

Within destination> document_rules>

and

        <ignore>
            <field>sales_creditmemo.base_shipping_hidden_tax_amnt</field>
        </ignore>

Within field_rules > source>.

But it won't go away. I'm happy to ignore this value, as credit memos weren't used by the store.

Many thanks for any help, I've been hitting this wall for a few hours now.

==============================================================

SOLVED

I finally managed to solve it by comparing the two tables and found that sales_flat_creditmemo.base_shipping_hidden_tax_amnt had been renamed to sales_flat_creditmemo.base_shipping_hidden_tax_amount to fix an upgrade issue for Magento 1.6

Renaming 'tax_amnt' fixed it and it seems that the original mapping issue in 1.6 has been resolved, so the site still works.

来源:https://stackoverflow.com/questions/37055922/magento-2-migration-tool-destination-fields-are-not-mapped

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!