This is the error I'm getting while trying to migrate from 1.9.0.1 to 2.1.4, ce-to-ce:
Incompatibility in data. Source document: eav_attribute. Field: frontend_input. Error: Attribute with attribute_id=237 cannot contain empty field value
That attribute is the text attribute, and is not set as unique at all. Is there a way to ignore it?
Hi @milossh
You can ignore it etc/ce-to-ce/eav-attribute-groups.xml file by adding new item to frontend_input_empty_allowed group
Is it safe to do so?
It will not prevent the attribute from migration but allow the tool to migrate with empty value in frontend_input filed
What would be the correct syntax to do this? Im a little lost what to type to do this.
Thanks
Just add new item to etc/ce-to-ce/eav-attribute-groups.xml into frontend_input_empty_allowed group if you really need to have empty value in frontend_input field after migration
Sorry but I have the same problem and cannot find a way to ignore this check.
On file /vendor/magento/data-migration-tool/etc/ce-to-ce/eav-attribute-groups.xml
I tried:
<attribute type="frontend_input">attribute_id</attribute>
or
<attribute type="eav_attribute">attribute_id</attribute>
but I always receive the same error:
[2017-05-31 16:29:48][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: frontend_input. Error: Attribute with attribute_id=608 cannot contain empty field value
Hello @friimaind, Did you solve the issue? I am facing the same. Please kindly share if you got it resolved. Thanks!
@Sarvesh-A I abandoned and used the simple import/export. Migrating Magento 1.6 with a lot of custom modules with data-migration-tool was a nightmare, sorry.
@friimaind Thanks for your feedback but I got the solution. The issue was I needed to assign frontend_input to particular attribute_id like text or varchar etc depends on your attribute. It was null so that's why was getting this error. :)
Thank you @Sarvesh-A , your tip could helps other users!
Error:
Incompatibility in data. Source document: eav_attribute. Field: frontend_input. Error: Attribute with attribute_id=425 cannot contain empty field value
Here attribute is is_locked (having 425 as attribute_id in eav_attribute table for entity=1 i.e, customer) so i added the below line for type ="customer" in eav-attribute-groups.xml
File Path:
/vendor/magento/data-migration-tool/etc/ce-to-ce/eav-attribute-groups.xml
Added line:
This solved my issue and able to migrate successfully
@friimaind
I am late to this, but if anyone need to know how to add attribute to "frontend_input_empty_allowed" group: Follow this.
<group name="frontend_input_empty_allowed">
<attribute>frontend_input</attribute>
</group>
You just need to add line: <attribute>frontend_input</attribute> the parent tag for group name is already there.
Hi @victor-v-rad ,
php bin/magento migrate:data -r vendor/magento/data-migration-tool/etc/opensource-to-opensource/isha-migration/1.9.1.1/config.xml
i just run the command on putty,
https://ibb.co/nCG03ZF
Im using magento 1.9.1.1 into magento 2.3.0 version migration setup
In magento 1.9.1.1 below attributes created as same magento 2.3.0, but i have same error
foomanconnectvend_id
foomanconnectvend_in_process
foomanconnectvend_parent_id
foomanconnectvend_supplier
foomanconnectvend_supply_code
foomanconnectvend_type
Please help with this.
Hi @victor-v-rad ,
Any updates I mentioned issues ??
Hi @daschenbrener
Did you add these attributes into eav-attribute-groups.xml?
thanks for updates,
Its working fine .
hi i have similar issue ..
I am still stuck my error is
[2020-02-26 13:31:21][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class eav/entity_attribute_source_custom is not mapped in record attribute_id=563
and i tried to rename the class using class-map.xml but then it generate another error
invalid map file.
I want this attribute and its data in magento 2 ..
If some one has resolve such issue please guide.
@victor-v-rad please have a look
Most helpful comment
@friimaind
I am late to this, but if anyone need to know how to add attribute to "frontend_input_empty_allowed" group: Follow this.
<group name="frontend_input_empty_allowed"> <attribute>frontend_input</attribute> </group>You just need to add line:
<attribute>frontend_input</attribute>the parent tag for group name is already there.