magento2: Email templates 2.4.3-p2 wrong var

Preconditions (*)

  1. Magento 2.4.3-p2 open source / enterprise.
  2. Php 7.4

Steps to reproduce (*)

  1. Load a creditmemo_new email from the backend.
  2. See for example: https://github.com/magento/magento2/blob/610f7f51faa94639da29f8001aded7559f114c54/app/code/Magento/Sales/view/frontend/email/creditmemo_new.html#L12
  3. Check the vars: <!–@vars {
  4. This applies for all email templates in Magento_Sales module.

Expected result (*)

  1. layout handle is correct. like: layout handle="sales_email_order_creditmemo_items" creditmemo_id=$creditmemo_id order_id=$order_id:"Credit Memo Items Grid"

Actual result (*)

  1. Layout handle is still wrong. like "layout handle=\"sales_email_order_creditmemo_items\" creditmemo=$creditmemo order=$order":"Credit Memo Items Grid",

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19

Most upvoted comments

@magento I am working on this