Magento 2移行:ボリュームチェックに失敗しました
-
13-12-2019 - |
質問
私は私の地元のマシンでMagento 2移行を試みています。
移行ツールを実行すると、このエラーが発生します。
[ERROR]: Incorrect value: Freightquote_Shipping_Model_Carrier_Source_Class in: eav_attribute.source_model for attribute_code=freightquote_class
[ERROR]: Incorrect value: Freightquote_Shipping_Model_Carrier_Source_Packaging in: eav_attribute.source_model for attribute_code=freightquote_packaging
[ERROR]: Incorrect value: Freightquote_Shipping_Model_Carrier_Source_Commodity in: eav_attribute.source_model for attribute_code=freightquote_commodity
[ERROR]: Incorrect value: Freightquote_Shipping_Model_Carrier_Source_Content in: eav_attribute.source_model for attribute_code=freightquote_content
.
と
で終わる[Migration\Exception]
Volume Check Failed
.
eav_attribute
ソーステーブル(省略):
attribute_code | backend_type | frontend_input | source_model
-----------------------------------------------------------------------------------------------------------------
freightquote_class | varchar | select | Freightquote_Shipping_Model_Carrier_Source_Class
freightquote_packaging | varchar | select | Freightquote_Shipping_Model_Carrier_Source_Packaging
freightquote_commodity | varchar | select | Freightquote_Shipping_Model_Carrier_Source_Commodity
freightquote_content | varchar | select | Freightquote_Shipping_Model_Carrier_Source_Content
.
可能/必要に応じて、このモジュールを移行から除外しています。これがどのように処理される可能性があるが、実際にそれを握ることができなかったが、様々なconfig.xmlファイルとmap.xmlファイルを見てみましたが、実際に把握できませんでした。
解決 2
eav_attribute
テーブルのデータを変更する必要があることを実現しました。FreightQooteソースモデルは予想される形式であるように変更する必要がありました。
SO Freightquote_Shipping_Model_Carrier_Source_Class
はfreightquote_shipping/carrier_source_class
になります。これは各行についてエラーを引き起こし、インポートを再開しました。それはエラーを修正しました。
他のヒント
私は同じ問題を抱えてgithub https:// github.com / magento /データ移行ツール-CE /問題/ 13
あなたのベンダー/ Magento / Data-Migration-tool / etc / ce-to-clod-map.xml.distファイルに次の行を追加することができます。
<rename>
<from>freightquote_shipping/carrier_source_class</from>
<to />
</rename>
<rename>
<from>freightquote_shipping/carrier_source_packaging</from>
<to />
</rename>
<name>
<from>freightquote_shipping/carrier_source_commodity</from>
<to />
</rename>
<rename>
<from>freightquote_shipping/carrier_source_content</from>
<to />
</rename>
. 所属していません magento.stackexchange