3

I am migrating from magento 1.9.2.4 to magento 2.1.6. While run data migrate command I got below error

[2017-05-18 12:38:48][ERROR]: Source fields are not mapped. Document: customer_eav_attribute. Fields: is_used_for_customer_segment
.............................................
.............................................
[2017-05-18 12:53:38][ERROR]: Source fields are not mapped. Document: cms_page. Fields: published_revision_id,website_root,under_version_control

I have added below content into map-eav.xml ( source->field_rules ) for fixing the above error

<ignore>
    <field>customer_eav_attribute.is_used_for_customer_segment</field>
</ignore>
<ignore>
    <field>cms_page.published_revision_id</field>
</ignore>
<ignore>
    <field>cms_page.website_root</field>
</ignore>
<ignore>
    <field>cms_page.under_version_control</field>
</ignore>

first error got fixed but the second error still come, how to solve this?

  • Still I am facing the first error. Please help for it – Ahmad Vaqas Khan Jul 20 '17 at 10:05
  • have you add ignore field instruction in map-eav.xml? – Bilal Usean Jul 20 '17 at 10:50
  • I have Fixed it. – Ahmad Vaqas Khan Jul 20 '17 at 10:51
  • glad you got!.. – Bilal Usean Jul 20 '17 at 10:52
  • I am facing similar error "[2019-02-22 06:09:03][ERROR]: Source fields are not mapped. Document: catalog_eav_attribute. Fields: is_visible_on_checkout" . I have added <ignore<datatype>catalog_eav_attribute.is_visible_on_checkout</datatype</ignore> this code in map-eav.xml file but still getting error.Help me!! – Sunny Rahevar Feb 22 at 6:36
5

Second error are generate because of above all three field withing cms_page are not a default field,

All of three field are generated using custom module.

So You have to remove custom module field using below way using map.xml file,

<source>
    <field_rules>
            <ignore>
                <field>cms_page.published_revision_id</field>
            </ignore>
            <ignore>
                <field>cms_page.website_root</field>
            </ignore>
            <ignore>
                <field>cms_page.under_version_control</field>
            </ignore>
    </field_rules>
</source>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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