Skip to content

Commit 075de96

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #16916: [Backport] Issue 5316 (by @ronak2ram) - #16873: Improve "Invalid country code" error message on tax import (by @adampmoss) - #16872: Remove extra spaces from Magento/Ui (by @ronak2ram) - #16861: Add Confirm Modal Width (by @hryvinskyi) - #16595: Trim issue on customer confirmation form (by @gelanivishal) - #16845: [Backport] Add @api annotation to Filter Group & Sort Order (by @ronak2ram) - #16435: Add generated code to the psr-0 autoloader section so when optimizing� (by @hostep) Fixed GitHub Issues: - #5316: [2.1.0] HTML minification problem with php tag with a comment and no space at the end (reported by @hostep) has been fixed in #16916 by @ronak2ram in 2.2-develop branch Related commits: 1. bf86012 2. 7f0bce4 - #6058: IE11 user login email validation fails if field has leading or trailing space (reported by @dnadle) has been fixed in #16595 by @gelanivishal in 2.2-develop branch Related commits: 1. 1d9cf03 2. 475cf0e 3. 0f57a30 4. af58cb6
2 parents c90c183 + 9b48f0c commit 075de96

File tree

20 files changed

+42
-18
lines changed

20 files changed

+42
-18
lines changed

app/code/Magento/Customer/view/frontend/templates/form/confirmation.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="field email required">
1515
<label for="email_address" class="label"><span><?= $block->escapeHtml(__('Email')) ?></span></label>
1616
<div class="control">
17-
<input type="email" name="email" id="email_address" class="input-text" value="<?= $block->escapeHtmlAttr($block->getEmail()) ?>" data-validate="{required:true, 'validate-email':true}">
17+
<input type="email" name="email" id="email_address" class="input-text" value="<?= $block->escapeHtmlAttr($block->getEmail()) ?>" data-validate="{required:true, 'validate-email':true}" data-mage-init='{"mage/trim-input":{}}'>
1818
</div>
1919
</div>
2020
</fieldset>

app/code/Magento/Shipping/Model/Carrier/AbstractCarrierInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function checkAvailableShipCountries(\Magento\Framework\DataObject $reque
9090
* @return $this|\Magento\Framework\DataObject|boolean
9191
* @api
9292
*/
93-
public function processAdditionalValidation(\Magento\Framework\DataObject $request);
93+
public function proccessAdditionalValidation(\Magento\Framework\DataObject $request);
9494

9595
/**
9696
* Determine whether current carrier enabled for activity

app/code/Magento/TaxImportExport/Model/Rate/CsvImportHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ protected function _importRate(array $rateData, array $regionsCache, array $stor
237237
$countryCode = $rateData[1];
238238
$country = $this->_countryFactory->create()->loadByCode($countryCode, 'iso2_code');
239239
if (!$country->getId()) {
240-
throw new \Magento\Framework\Exception\LocalizedException(__('One of the countries has invalid code.'));
240+
throw new \Magento\Framework\Exception\LocalizedException(__('Country code is invalid: %1', $countryCode));
241241
}
242242
$regionsCache = $this->_addCountryRegionsToCache($countryCode, $regionsCache);
243243

app/code/Magento/TaxImportExport/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Rate,Rate
1212
"Invalid file upload attempt","Invalid file upload attempt"
1313
"Invalid file upload attempt.","Invalid file upload attempt."
1414
"Invalid file format.","Invalid file format."
15-
"One of the countries has invalid code.","One of the countries has invalid code."
15+
"Country code is invalid: %1","Country code is invalid: %1"
1616
"Import Tax Rates","Import Tax Rates"
1717
"Export Tax Rates","Export Tax Rates"
1818
CSV,CSV

app/code/Magento/Ui/view/base/web/templates/form/components/collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<legend class="admin__legend">
3131
<span text="$parent.label"/>
3232
</legend><br />
33-
33+
3434
<each args="getRegion('body')" render=""/>
3535
</fieldset>
3636
</div>

app/code/Magento/Ui/view/base/web/templates/form/element/checkbox-set.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<div class="admin__field-control"
1717
css="'_with-tooltip': $data.tooltip">
1818
<div class="admin__field admin__field-option" outereach="options">
19-
<input
19+
<input
2020
ko-checked="$parent.value"
2121
ko-disabled="$parent.disabled"
2222
css="
2323
'admin__control-radio': !$parent.multiple,
2424
'admin__control-checkbox': $parent.multiple"
2525
attr="
26-
id: ++ko.uid,
26+
id: ++ko.uid,
2727
value: value,
2828
type: $parent.multiple ? 'checkbox' : 'radio'"/>
2929

app/code/Magento/Ui/view/base/web/templates/form/field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div class="admin__field-note" if="$data.notice" attr="id: noticeId">
3636
<span translate="notice"/>
3737
</div>
38-
38+
3939
<div class="admin__additional-info" if="$data.additionalInfo" html="$data.additionalInfo"></div>
4040

4141
<render args="$data.service.template" if="$data.hasService()"/>

app/code/Magento/Ui/view/base/web/templates/grid/editing/bulk.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</button>
1414
</with>
1515
</if>
16-
16+
1717
<if args="$data.isEditor">
1818
<label class="admin__field-label admin__field-label-vertical" attr="for: uid" translate="'All in Column'"/>
1919
<render/>

app/code/Magento/Ui/view/base/web/templates/grid/editing/row.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<span class="data-grid-row-changed" css="_changed: $parent.hasChanges">
1212
<span class="data-grid-row-changed-tooltip" translate="'Record contains unsaved changes.'"/>
1313
</span>
14-
</td>
15-
14+
</td>
15+
1616
<!-- ko ifnot: $parent.isActionsColumn($data) -->
1717
<td if="$col.isEditor" template="$parent.fieldTmpl"/>
1818
<td ifnot="$col.isEditor" css="$col.getFieldClass()" template="$col.getBody()"/>

app/code/Magento/Ui/view/base/web/templates/grid/sticky/sticky.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div style="display: none;" css="stickyClass" afterRender="setStickyNode">
88
<span class="data-grid-cap-left" afterRender="setLeftCap"/>
99
<span class="data-grid-cap-right" afterRender="setRightCap"/>
10-
10+
1111
<div afterRender="setStickyToolbarNode">
1212
<div class="admin__data-grid-header">
1313
<div class="admin__data-grid-header-row">

0 commit comments

Comments
 (0)