Skip to content

Commit fd29691

Browse files
committed
Merge branch '2.2-develop' of github.com:magento/magento2ce into MAGETWO-92447
2 parents 8677971 + 45a7e0c commit fd29691

File tree

24 files changed

+47
-24
lines changed

24 files changed

+47
-24
lines changed

app/code/Magento/CatalogInventory/view/adminhtml/ui_component/product_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@
568568
<settings>
569569
<scopeLabel>[GLOBAL]</scopeLabel>
570570
<validation>
571-
<rule name="validate-digits" xsi:type="boolean">true</rule>
571+
<rule name="validate-integer" xsi:type="boolean">true</rule>
572572
<rule name="validate-number" xsi:type="boolean">true</rule>
573573
</validation>
574574
<label translate="true">Qty Increments</label>

app/code/Magento/CatalogInventory/view/adminhtml/web/js/components/qty-validator-changer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ define([
2020
var isDigits = value !== 1;
2121

2222
this.validation['validate-integer'] = isDigits;
23-
this.validation['validate-digits'] = isDigits;
2423
this.validation['less-than-equals-to'] = isDigits ? 99999999 : 99999999.9999;
2524
this.validate();
2625
}

app/code/Magento/Cron/etc/cron_groups.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<schedule_ahead_for>20</schedule_ahead_for>
1212
<schedule_lifetime>15</schedule_lifetime>
1313
<history_cleanup_every>10</history_cleanup_every>
14-
<history_success_lifetime>10080</history_success_lifetime>
15-
<history_failure_lifetime>10080</history_failure_lifetime>
14+
<history_success_lifetime>60</history_success_lifetime>
15+
<history_failure_lifetime>4320</history_failure_lifetime>
1616
<use_separate_process>0</use_separate_process>
1717
</group>
1818
</config>

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/Indexer/etc/cron_groups.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<schedule_ahead_for>4</schedule_ahead_for>
1212
<schedule_lifetime>2</schedule_lifetime>
1313
<history_cleanup_every>10</history_cleanup_every>
14-
<history_success_lifetime>10080</history_success_lifetime>
15-
<history_failure_lifetime>10080</history_failure_lifetime>
14+
<history_success_lifetime>60</history_success_lifetime>
15+
<history_failure_lifetime>4320</history_failure_lifetime>
1616
<use_separate_process>1</use_separate_process>
1717
</group>
1818
</config>

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

0 commit comments

Comments
 (0)