magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
334 stars 200 forks source link

Email templates contain old m1 {{blocks}} to header and footer #780

Open mykhailo-superiorseating opened 4 years ago

mykhailo-superiorseating commented 4 years ago

Preconditions

  1. Migrate data from M1 to M2 using data-migration-tool.

Steps to reproduce

  1. Open any order in admin panel.
  2. Send email by "Send Email".

Expected result

You sent the order email.

Actual result

[2020-01-28 15:11:23] main.CRITICAL: Email template '' is not defined. {"exception":"[object] (UnexpectedValueException(code: 0): Email template '' is not defined. at ......mydomain.com/vendor/magento/module-email/Model/Template/Config.php:225)"} []

Additional notes

The problem is that in m2 we use different blocks than in m1.

M1:

{{template config_path="storename/email/header"}}
{{template config_path="storename/email/footer"}}

M2:

{{template config_path="design/email/header_template"}}
{{template config_path="design/email/footer_template"}}

This issue on magento.stackexchange.com.

victor-v-rad commented 4 years ago

Hi @mykhailo-superiorseating

Thank you for reporting this issue. Internal ticket MC-31153 to process it