1

I have got the error message:

Source fields are not mapped. Document: sales_flat_order. Fields: imported,onestepcheckout_order_comment,onestepcheckout_giftwrap_amount

Then I have added to

vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/map.xml

these rules

    <source>
         <field_rules>
          ...
<ignore>
   <field>sales_flat_order_imported</field>
</ignore>

<ignore>
   <field>sales_flat_order_onestepcheckout_order_comment</field>
</ignore>

<ignore>
   <field>sales_flat_order_onestepcheckout_giftwrap_amount</field>
</ignore>

<ignore>
   <field>salesrule_coupon_onestepcheckout_is_popup</field>
</ignore>

          ...
        </field_rules>
       </source>

Then run:

./magento migrate:data path/to/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.2.2/config.xml

But I have got the same message again.

Could you prompt me where I wrong, please?

1 Answer 1

0

It needs istead

<field>sales_flat_order_onestepcheckout_order_comment</field>

use

<field>sales_flat_order.onestepcheckout_order_comment</field>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.