Data-migration-tool: Class does not exist but mentioned Error

Created on 27 Aug 2016  路  12Comments  路  Source: magento/data-migration-tool

Got the following error when [2016-08-26 23:04:43][INFO][mode: data][stage: volume check][step: EAV Step]. Please help

`[2016-08-26 17:48:21][ERROR]: Class ultramegamenu/category_attribute_source_dropdown_type does not exist but mentioned in: eav_attribute.source_model for attribute_id=133

question

Most helpful comment

Thank you victor-v-rad. I did it in the class-map.xml like this.

<rename>
    <from>ultramegamenu/category_attribute_source_dropdown_type</from>
    <to></to>
</rename>

All 12 comments

Hi,
You can use class-map.xml.dist to fix this. (tag leave empty) Or ignore problematic attribute in eav-attribute-groups.xml.dist

Thank you victor-v-rad. I did it in the class-map.xml like this.

<rename>
    <from>ultramegamenu/category_attribute_source_dropdown_type</from>
    <to></to>
</rename>

Thanks, I had seen this solution but have not managed to solve.
can you help me?

I managed to overcome the above problem if I thank you for that.
Now I get:

[MagentoFrameworkConfigDomValidationException]
Opening and ending tag mismatch: rename line 518 and classmap
Line: 526
Premature end of data in tag classmap line 8
Line: 527

[Exception]
Notice: Undefined offset: 1 in /home/libremom/public_html/vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 209

@mcontino
What version the tool do you use?

It would be better if you create new issue in case it is not related to the original one

should I use class-map.xml.dist or class-map.xml? Where is the file should placed?

should I use class-map.xml.dist or class-map.xml? Where is the file should placed?

The class-map.xml.dist exists here, vendormagentodata-migration-tooletc{opensource-to-opensource}.

I just did the migration without renaming the file, I have used class-map.xml.dist and ran the migration. It worked well for me.

You also need to mention the class-map.xml in vendor\magento\data-migration-tool\etc\opensource-to-opensource\x.x.x.x\config.xml in the in the <options> <class_map> tag.

Class MagentoCatalogBlockAdminhtmlProductHelperFormBaseImage does not exist but mentioned in: catalog_eav_attribute.frontend_input_renderer for attribute_id=74

m also use in class-map.xml

MagentoCatalogBlockAdminhtmlProductHelperFormBaseImage

but same error
m using magnto2.3.0 form 1.9.2.2

Please make sure you flowed recommendation from above comment

Was this page helpful?
0 / 5 - 0 ratings