Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class Magento\Customer\Model\Customer\Attribute\Backend\Website is not mapped in record attribute_id=1 #862
opensource-to-opensource magento 1.9.4.1 to magento 2.4.0
Enabled only
<config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:noNamespaceSchemaLocation="urn:magento:module:Magento_DataMigrationTool:etc/config.xsd">
...
...
Migration\Step\Eav\Integrity
Migration\Step\Eav\Data
Migration\Step\Eav\Volume
...
1.
2.
### Steps to reproduce
php bin/magento migrate:data /pass_to_project/app/code/PD/Migration/etc/opensource-to-opensource/1.9.4.1/config.xml
### Expected result
No errors for standard attributes
1.
### Actual result
I've got a lot of errors for all magento standard attributes
[2021-01-04 18:28:41][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class Magento\Customer\Model\Customer\Attribute\Backend\Website is not mapped in record attribute_id=1
[2021-01-04 18:28:41][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class Magento\Customer\Model\Customer\Attribute\Source\Website is not mapped in record attribute_id=1
[2021-01-04 18:28:41][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: backend_model. Error: Class Magento\Customer\Model\Customer\Attribute\Backend\Store is not mapped in record attribute_id=2
[2021-01-04 18:28:41][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class Magento\Customer\Model\Customer\Attribute\Source\Store is not mapped in record attribute_id=2
[2021-01-04 18:28:41][ERROR]: Incompatibility in data. Source document: eav_attribute. Field: source_model. Error: Class Magento\Customer\Model\Customer\Attribute\Source\Group is not mapped in record attribute_id=10
...
1. [Screenshot, logs]
### Additional notes
As I can see, problem may be here \Migration\Reader\ClassMap::hasMap
change line if (is_string($className) && array_key_exists($className, $this->getMap())) {
to if (is_string($className) && in_array($className, $this->getMap())) {
Preconditions
opensource-to-opensource magento 1.9.4.1 to magento 2.4.0 Enabled only <config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="urn:magento:module:Magento_DataMigrationTool:etc/config.xsd"> ...