Skip to content

Commit b842b86

Browse files
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - #19350: [Forwardport] local themes should be added to git repo (by @torhoehn) - #19332: chore: remove unused code in admin view of catalog (by @DanielRuf) - #19322: Fixed configurable product widget issue (by @gelanivishal) - #19318: [Forwardport] Fixed child items showing on My Account order view (by @torhoehn) - #19298: [Forwardport] Fix issue port 19286 - Wrong pager style (by @speedy008) - #19146: Add availability to leave empty config for events.xml (by @lisovyievhenii) - magento-engcom/import-export-improvements#150: Define $session property in History model (by @denispapec) Fixed GitHub Issues: - #18949: dev/tools/grunt/configs/themes.js gets replaced after update magento (reported by @iget-master) has been fixed in #19350 by @torhoehn in 2.3-develop branch Related commits: 1. adb97a3 - #19315: Issue with configurable products in widgets, not added to cart (reported by @jcourtei) has been fixed in #19322 by @gelanivishal in 2.3-develop branch Related commits: 1. ada1c5f 2. 8b1afea - #16434: Bundle Product Options not showing in Customer Account - Items Ordered (reported by @robertkent) has been fixed in #19318 by @torhoehn in 2.3-develop branch Related commits: 1. 7e78060 - #19286: Wrong pager style (reported by @gujjwal00) has been fixed in #19298 by @speedy008 in 2.3-develop branch Related commits: 1. ded5c49 2. 2f60707 3. d445e48 - #15931: events.xml cant have no childrens, others can [Magento 2.2.4] (reported by @NopeNopeNope) has been fixed in #19146 by @lisovyievhenii in 2.3-develop branch Related commits: 1. 16f2e0d 2. 7ae271e
2 parents 1de87cf + 51cac87 commit b842b86

File tree

13 files changed

+25
-30
lines changed

13 files changed

+25
-30
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ atlassian*
3333
/.php_cs
3434
/.php_cs.cache
3535
/grunt-config.json
36-
/dev/tools/grunt/configs/local-themes.js
3736
/pub/media/*.*
3837
!/pub/media/.htaccess
3938
/pub/media/attribute/*

app/code/Magento/Catalog/view/adminhtml/web/catalog/product/composite/configure.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -469,26 +469,6 @@ define([
469469
}
470470
},
471471

472-
/**
473-
* toggles Selects states (for IE) except those to be shown in popup
474-
*/
475-
/*_toggleSelectsExceptBlock: function(flag) {
476-
if(Prototype.Browser.IE){
477-
if (this.blockForm) {
478-
var states = new Array;
479-
var selects = this.blockForm.getElementsByTagName("select");
480-
for(var i=0; i<selects.length; i++){
481-
states[i] = selects[i].style.visibility
482-
}
483-
}
484-
if (this.blockForm) {
485-
for(i=0; i<selects.length; i++){
486-
selects[i].style.visibility = states[i]
487-
}
488-
}
489-
}
490-
},*/
491-
492472
/**
493473
* Close configuration window
494474
*/

app/code/Magento/Catalog/view/frontend/templates/product/widget/new/column/new_default_list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="product-item-actions">
3434
<div class="actions-primary">
3535
<?php if ($_product->isSaleable()): ?>
36-
<?php if ($_product->getTypeInstance()->hasRequiredOptions($_product)): ?>
36+
<?php if (!$_product->getTypeInstance()->isPossibleBuyFromList($_product)): ?>
3737
<button type="button" title="<?= /* @escapeNotVerified */ __('Add to Cart') ?>"
3838
class="action tocart primary"
3939
data-mage-init='{"redirectUrl":{"url":"<?= /* @escapeNotVerified */ $block->getAddToCartUrl($_product) ?>"}}'>

app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()->
6666
<?php if ($showCart): ?>
6767
<div class="actions-primary">
6868
<?php if ($_item->isSaleable()): ?>
69-
<?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
69+
<?php if (!$_item->getTypeInstance()->isPossibleBuyFromList($_item)): ?>
7070
<button class="action tocart primary"
7171
data-mage-init='{"redirectUrl":{"url":"<?= /* @escapeNotVerified */ $block->getAddToCartUrl($_item) ?>"}}'
7272
type="button" title="<?= /* @escapeNotVerified */ __('Add to Cart') ?>">

app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()->
6565
<?php if ($showCart): ?>
6666
<div class="actions-primary">
6767
<?php if ($_item->isSaleable()): ?>
68-
<?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
68+
<?php if (!$_item->getTypeInstance()->isPossibleBuyFromList($_item)): ?>
6969
<button class="action tocart primary"
7070
data-mage-init='{"redirectUrl":{"url":"<?= /* @escapeNotVerified */ $block->getAddToCartUrl($_item) ?>"}}'
7171
type="button" title="<?= /* @escapeNotVerified */ __('Add to Cart') ?>">

app/code/Magento/CatalogRule/Test/Mftf/Test/CatalogPriceRuleAndCustomerGroupMembershipArePersistedUnderLongTermCookieTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MAGETWO-69455"/>
1919
<group value="persistent"/>
20+
<skip>
21+
<issueId value="MAGETWO-96656"/>
22+
</skip>
2023
</annotations>
2124
<before>
2225
<createData entity="PersistentConfigEnabled" stepKey="enablePersistent"/>

app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<?php if ($showCart): ?>
6262
<div class="actions-primary">
6363
<?php if ($_item->isSaleable()): ?>
64-
<?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
64+
<?php if (!$_item->getTypeInstance()->isPossibleBuyFromList($_item)): ?>
6565
<button class="action tocart primary" data-mage-init='{"redirectUrl":{"url":"<?= $block->escapeUrl($block->getAddToCartUrl($_item)) ?>"}}' type="button" title="<?= $block->escapeHtmlAttr(__('Add to Cart')) ?>">
6666
<span><?= $block->escapeHtml(__('Add to Cart')) ?></span>
6767
</button>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontSortingByPriceForConfigurableWithCatalogRuleAppliedTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MAGETWO-69988"/>
1919
<group value="сonfigurable_product"/>
20+
<skip>
21+
<issueId value="MAGETWO-96658"/>
22+
</skip>
2023
</annotations>
2124
<before>
2225
<createData entity="ApiCategory" stepKey="createCategory"/>

app/code/Magento/ImportExport/Model/History.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ class History extends \Magento\Framework\Model\AbstractModel
4242
*/
4343
protected $reportHelper;
4444

45+
/**
46+
* @var \Magento\Backend\Model\Auth\Session
47+
*/
48+
protected $session;
49+
4550
/**
4651
* Class constructor
4752
*
@@ -293,6 +298,8 @@ public function setSummary($summary)
293298
}
294299

295300
/**
301+
* Load the last inserted item
302+
*
296303
* @return $this
297304
*/
298305
public function loadLastInsertItem()

app/code/Magento/UrlRewrite/Test/Mftf/Test/AdminUrlRewritesForProductInAnchorCategoriesTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<severity value="CRITICAL"/>
1717
<testCaseId value="MAGETWO-69826"/>
1818
<group value="urlRewrite"/>
19+
<skip>
20+
<issueId value="MAGETWO-96713"/>
21+
</skip>
1922
</annotations>
2023

2124
<!-- Preconditions-->

app/design/frontend/Magento/luma/web/css/source/_extends.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,10 @@
15061506
position: relative;
15071507
z-index: 1;
15081508
}
1509+
.limiter {
1510+
display: inline-block;
1511+
float: right;
1512+
}
15091513

15101514
.toolbar-amount {
15111515
.lib-css(line-height, @pager__line-height);

lib/internal/Magento/Framework/Event/Test/Unit/Config/_files/invalidEventsXmlArray.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66
return [
7-
'without_event_handle' => [
8-
'<?xml version="1.0"?><config></config>',
9-
["Element 'config': Missing child element(s). Expected is ( event ).\nLine: 1\n"],
10-
],
117
'event_without_required_name_attribute' => [
128
'<?xml version="1.0"?><config><event name="some_name"></event></config>',
139
["Element 'event': Missing child element(s). Expected is ( observer ).\nLine: 1\n"],

lib/internal/Magento/Framework/Event/etc/events.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<xs:element name="config">
1010
<xs:complexType>
1111
<xs:sequence>
12-
<xs:element name="event" type="eventDeclaration" minOccurs="1" maxOccurs="unbounded">
12+
<xs:element name="event" type="eventDeclaration" minOccurs="0" maxOccurs="unbounded">
1313
<xs:unique name="uniqueObserverName">
1414
<xs:annotation>
1515
<xs:documentation>

0 commit comments

Comments
 (0)