Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.2-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - #22140: Backport for Magento 2.2 - Fixes variables in configuration not being� (by @hostep)
 - #21945: [Backport] Trigger contentUpdate on reviews load (by @eduard13)
 - #20392: Backport.  Success message is not showing when creating invoice & shipment simultaniously # (by @XxXgeoXxX)


Fixed GitHub Issues:
 - #15972: Since Magento 2.2.1, certain variables in the configuration get resolved to their actual value (reported by @hostep) has been fixed in #22140 by @hostep in 2.2-develop branch
   Related commits:
     1. 0b0fc92
  • Loading branch information
magento-engcom-team authored Apr 11, 2019
2 parents f7ac18b + 4dbcbd3 commit 51fcebd
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 5 deletions.
4 changes: 4 additions & 0 deletions app/code/Magento/Config/Block/System/Config/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ private function getFieldData(\Magento\Config\Model\Config\Structure\Element\Fie
$backendModel = $field->getBackendModel();
// Backend models which implement ProcessorInterface are processed by ScopeConfigInterface
if (!$backendModel instanceof ProcessorInterface) {
if (array_key_exists($path, $this->_configData)) {
$data = $this->_configData[$path];
}

$backendModel->setPath($path)
->setValue($data)
->setWebsite($this->getWebsiteCode())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define([
showLoader: false,
loaderContext: $('.product.data.items')
}).done(function (data) {
$('#product-review-container').html(data);
$('#product-review-container').html(data).trigger('contentUpdated');
$('[data-role="product-review"] .pages a').each(function (index, element) {
$(element).click(function (event) { //eslint-disable-line max-nested-callbacks
processReviews($(element).attr('href'), true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1>{{trans "Your Shipment #%shipment_id for Order #%order_id" shipment_id=$ship
</tr>
</table>
{{/depend}}
{{block class='Magento\\Framework\\View\\Element\\Template' area='frontend' template='Magento_Sales::email/shipment/track.phtml' shipment=$shipment order=$order}}
{{layout handle="sales_email_order_shipment_track" shipment=$shipment order=$order}}
<table class="order-details">
<tr>
<td class="address-details">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1>{{trans "Your Shipment #%shipment_id for Order #%order_id" shipment_id=$ship
</tr>
</table>
{{/depend}}
{{block class='Magento\\Framework\\View\\Element\\Template' area='frontend' template='Magento_Sales::email/shipment/track.phtml' shipment=$shipment order=$order}}
{{layout handle="sales_email_order_shipment_track" shipment=$shipment order=$order}}
<table class="order-details">
<tr>
<td class="address-details">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="sales_email_order_shipment_renderers"/>
<body>
<block class="Magento\Framework\View\Element\Template" name="sales.order.email.shipment.track" template="Magento_Sales::email/shipment/track.phtml"/>
</body>
</page>
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h1>{{trans "Your Shipment #%shipment_id for Order #%order_id" shipment_id=$ship
</tr>
</table>
{{/depend}}
{{block class='Magento\\Framework\\View\\Element\\Template' area='frontend' template='Magento_Sales::email/shipment/track.phtml' shipment=$shipment order=$order}}
{{layout handle="sales_email_order_shipment_track" shipment=$shipment order=$order}}
<table class="order-details">
<tr>
<td class="address-details">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1>{{trans "Your Shipment #%shipment_id for Order #%order_id" shipment_id=$ship
</tr>
</table>
{{/depend}}
{{block class='Magento\\Framework\\View\\Element\\Template' area='frontend' template='Magento_Sales::email/shipment/track.phtml' shipment=$shipment order=$order}}
{{layout handle="sales_email_order_shipment_track" shipment=$shipment order=$order}}
<table class="order-details">
<tr>
<td class="address-details">
Expand Down

0 comments on commit 51fcebd

Please sign in to comment.