Question

I'm trying to migrate from Magento 1.7.0.2 to Magento 2.3.1

For that I use the migration tool :https://devdocs.magento.com/guides/v2.3/migration/migration-tool-install.html

All is working fine except a custom table.

enter image description here

I get this message for the col4 when i launch the import :

  • Destination fields are not mapped. Document: my_table. Fields: col4

I tried to fix thix with ignore and transform with no success :

    //file map.xml
<source>    
    <field_rules>
        <ignore>
            <field>my_table.col4</field>
        </ignore>
        <transform>
            <field>my_table.col4</field>
            <handler class="\Migration\Handler\SetValue">
                <param name="value" value="1" />
            </handler>
        </transform>
    </field_rules>
</source>
Était-ce utile?

La solution

I found the solution, I was in source instead of destination.

<destination>
    <field_rules>
        <ignore>
            <field>my_table.col4</field>
        </ignore>
    </field_rules>
</destination>
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top