Skip to content

Commit 73472a3

Browse files
abukatarAnna Bukatar
andauthored
Release 1.0.17 (#28)
Co-authored-by: Anna Bukatar <[email protected]>
1 parent 664b273 commit 73472a3

File tree

16 files changed

+2950
-5
lines changed

16 files changed

+2950
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/quality-patches",
33
"description": "Provides quality patches for Magento 2",
44
"type": "magento2-component",
5-
"version": "1.0.16",
5+
"version": "1.0.17",
66
"license": "proprietary",
77
"repositories": {
88
"repo": {

patches.json

Lines changed: 117 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,20 +708,53 @@
708708
"magento/magento2-base": {
709709
"Fixes the issue where custom address attributes are not correctly displayed in the order details page in the my account area and in the backend.": {
710710
">=2.3.4 <2.3.6 || >=2.4.0 <2.4.1": {
711-
"file": "os/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v3.patch"
711+
"file": "os/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v3.patch",
712+
"replaced-with": "MDVA-31007-V4"
712713
},
713714
"2.4.1": {
714-
"file": "os/MDVA-33368__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1.patch"
715+
"file": "os/MDVA-33368__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1.patch",
716+
"replaced-with": "MDVA-31007-V4"
715717
}
716718
}
717719
},
718720
"magento/magento2-ee-base": {
719721
"Fixes the issue where custom address attributes are not correctly displayed in the order details page in the my account area and in the backend.": {
720722
">=2.3.4 <2.3.6 || >=2.4.0 <2.4.1": {
721-
"file": "commerce/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v3.patch"
723+
"file": "commerce/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v3.patch",
724+
"replaced-with": "MDVA-31007-V4"
722725
},
723726
"2.4.1": {
724-
"file": "commerce/MDVA-33368__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1.patch"
727+
"file": "commerce/MDVA-33368__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1.patch",
728+
"replaced-with": "MDVA-31007-V4"
729+
}
730+
}
731+
}
732+
},
733+
"MDVA-31007-V4": {
734+
"magento/magento2-base": {
735+
"Fixes the issue where custom address attributes are not correctly displayed in the order details page in the my account area and in the backend.": {
736+
">=2.4.0 <2.4.1": {
737+
"file": "os/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v4.patch"
738+
},
739+
"2.4.1": {
740+
"file": "os/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1_v4.patch"
741+
}
742+
}
743+
},
744+
"magento/magento2-ee-base": {
745+
"Fixes the issue where custom address attributes are not correctly displayed in the order details page in the my account area and in the backend.": {
746+
">=2.4.0 <2.4.1": {
747+
"file": "commerce/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_v4.patch"
748+
},
749+
"2.4.1": {
750+
"file": "commerce/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.1_v4.patch"
751+
}
752+
}
753+
},
754+
"magento/magento2-b2b-base": {
755+
"Fixes the issue where custom address attributes are not correctly displayed in the order details page in the my account area and in the backend.": {
756+
">=1.2.0 <1.3.0": {
757+
"file": "commerce/MDVA-31007__fixes_issue_where_custom_address_attributes_are_not_displayed_correctly_in_the_order_details_page_in_my_account_area_and_in_the_backend__2.4.0_B2B_v4.patch"
725758
}
726759
}
727760
}
@@ -1334,6 +1367,9 @@
13341367
"Provides a fix where the exception message \"This product is out of stock\" is now displayed to admin user when trying to re-order an out of stock product.": {
13351368
">=2.3.0 <2.3.7": {
13361369
"file": "os/MDVA-33632__adds_exception_when_trying_to_reorder_out_of_stock_product_in_the_admin__2.3.6_v1.patch"
1370+
},
1371+
">=2.4.0 <2.4.3": {
1372+
"file": "os/MDVA-33632__adds_exception_when_trying_to_reorder_out_of_stock_product_in_the_admin__2.4.1.patch"
13371373
}
13381374
}
13391375
}
@@ -1497,5 +1533,82 @@
14971533
}
14981534
}
14991535
}
1536+
},
1537+
"MDVA-34012": {
1538+
"magento/magento2-base": {
1539+
"Fixes the issue where the \"Use default value\" checkbox gets cleared, after the scheduled changes are applied. The issue appears once the scheduled changes are no longer in effect.": {
1540+
">=2.3.1 <2.4.3": {
1541+
"file": "os/MDVA-34012__fixes_the_issue_where_the_use_default_value_checkbox_gets_cleared_after_the_scheduled_changes_are_applied__2.3.5-p2.patch"
1542+
}
1543+
}
1544+
},
1545+
"magento/magento2-ee-base": {
1546+
"Fixes the issue where the \\\"Use default value\\\" checkbox gets cleared, after the scheduled changes are applied. The issue appears once the scheduled changes are no longer in effect.": {
1547+
">=2.3.1 <2.4.3": {
1548+
"file": "commerce/MDVA-34012__fixes_the_issue_where_the_use_default_value_checkbox_gets_cleared_after_the_scheduled_changes_are_applied__2.3.5-p2.patch"
1549+
}
1550+
}
1551+
}
1552+
},
1553+
"MDVA-35064": {
1554+
"magento/magento2-base": {
1555+
"Fixes the issue where URL rewrites are not generated for configurable products created via API.": {
1556+
">=2.3.3 <2.4.3": {
1557+
"file": "os/MDVA-35064__fixes_the_issue_where_URL_rewrites_are_not_generated_for_configurable_products_created_via_api__2.3.5-p1.patch"
1558+
}
1559+
}
1560+
}
1561+
},
1562+
"MDVA-34943": {
1563+
"magento/magento2-b2b-base": {
1564+
"Fixes the issue where quick order caches the previously entered SKUs.": {
1565+
">=1.1.0 <1.3.1": {
1566+
"file": "commerce/MDVA-34943__fixes_the_issue_where_quick_order_caches_the_previously_entered_skus__2.4.1.patch"
1567+
}
1568+
}
1569+
}
1570+
},
1571+
"MDVA-35197": {
1572+
"magento/magento2-base": {
1573+
"Fixes the issue where there's an error when adding to cart using GraphQL, if previously added products become out of stock.": {
1574+
">=2.3.5 <2.4.0": {
1575+
"file": "os/MDVA-35197__fixes_the_issue_where_there_is_an_error_when_adding_to_cart_using_graphql_if_previously_added_products_become_out_of_stock__2.3.6.patch"
1576+
}
1577+
}
1578+
}
1579+
},
1580+
"MDVA-34850": {
1581+
"magento/inventory-composer-metapackage": {
1582+
"Fixes the issue where the out-of-stock options of a configurable product are not displayed, instead of being displayed as struck-through.": {
1583+
">=1.0.3 <1.2.0": {
1584+
"file": "commerce/MDVA-34850__fixes_the_issue_where_the_out_of_stock_options_of_a_configurable_product_are_not_displayed__2.3.5-p2.patch"
1585+
}
1586+
}
1587+
},
1588+
"magento/inventory-metapackage": {
1589+
"Fixes the issue where the out-of-stock options of a configurable product are not displayed, instead of being displayed as struck-through.": {
1590+
">=1.2.0 <1.2.3": {
1591+
"file": "commerce/MDVA-34850__fixes_the_issue_where_the_out_of_stock_options_of_a_configurable_product_are_not_displayed__2.3.5-p2.patch"
1592+
}
1593+
}
1594+
}
1595+
},
1596+
"MDVA-34867": {
1597+
"magento/magento2-ee-base": {
1598+
"Fixes the issue where values for a condition field set for a scheduled update are not being saved.": {
1599+
">=2.3.0 <2.4.3": {
1600+
"file": "commerce/MDVA-34867__fixes_the_issue_where_values_for_a_condition_field_set_for_a_scheduled_update_are_not_being_saved__2.4.0-p1.patch"
1601+
}
1602+
}
1603+
}
1604+
},
1605+
"MDVA-35092": {
1606+
"magento/magento2-base": {
1607+
"Fixes the issue where users are not able to add Vimeo videos due to deprecated Vimeo API": {
1608+
">=2.3.5 <2.4.3": {
1609+
"file": "os/MDVA-35092__fixes_the_issue_where_users_are_not_able_to_add_Vimeo_videos_due_to_deprecated_Vimeo_API__2.4.1.patch"
1610+
}
1611+
}
1612+
}
15001613
}
15011614
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
diff --git a/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/address-renderer/default.js b/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/address-renderer/default.js
2+
index 2a60e20aa6..8e52105860 100644
3+
--- a/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/address-renderer/default.js
4+
+++ b/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/address-renderer/default.js
5+
@@ -4,10 +4,12 @@
6+
*/
7+
8+
define([
9+
+ 'jquery',
10+
'ko',
11+
+ 'underscore',
12+
'Magento_Checkout/js/view/shipping-address/address-renderer/default',
13+
'Magento_Checkout/js/model/quote'
14+
-], function (ko, AddressRendererView, quote) {
15+
+], function ($, ko, _, AddressRendererView, quote) {
16+
'use strict';
17+
18+
return AddressRendererView.extend({
19+
@@ -53,6 +55,32 @@ define([
20+
}, this);
21+
22+
return this;
23+
+ },
24+
+
25+
+ /**
26+
+ * Get customer attribute label
27+
+ *
28+
+ * @param {*} attribute
29+
+ * @returns {*}
30+
+ */
31+
+ getCustomAttributeLabel: function (attribute) {
32+
+ var resultAttribute;
33+
+
34+
+ if (typeof attribute === 'string') {
35+
+ return attribute;
36+
+ }
37+
+
38+
+ if (attribute.label) {
39+
+ return attribute.label;
40+
+ }
41+
+
42+
+ if (typeof this.source.get('customAttributes') !== 'undefined') {
43+
+ resultAttribute = _.findWhere(this.source.get('customAttributes')[attribute['attribute_code']], {
44+
+ value: attribute.value
45+
+ });
46+
+ }
47+
+
48+
+ return resultAttribute && resultAttribute.label || attribute.value;
49+
}
50+
});
51+
});
52+
diff --git a/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/list.js b/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/list.js
53+
index 6eb8c420b5..9d3b015f2f 100644
54+
--- a/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/list.js
55+
+++ b/vendor/magento/module-negotiable-quote/view/frontend/web/js/view/shipping-address/list.js
56+
@@ -17,7 +17,8 @@ define([
57+
var defaultRendererTemplate = {
58+
parent: '${ $.$data.parentName }',
59+
name: '${ $.$data.name }',
60+
- component: 'Magento_NegotiableQuote/js/view/shipping-address/address-renderer/default'
61+
+ component: 'Magento_NegotiableQuote/js/view/shipping-address/address-renderer/default',
62+
+ provider: 'checkoutProvider'
63+
};
64+
65+
return ListView.extend({
66+
diff --git a/vendor/magento/module-negotiable-quote/view/frontend/web/template/shipping-address/address-renderer/default.html b/vendor/magento/module-negotiable-quote/view/frontend/web/template/shipping-address/address-renderer/default.html
67+
index 02a5ce557e..61c0e15725 100644
68+
--- a/vendor/magento/module-negotiable-quote/view/frontend/web/template/shipping-address/address-renderer/default.html
69+
+++ b/vendor/magento/module-negotiable-quote/view/frontend/web/template/shipping-address/address-renderer/default.html
70+
@@ -4,33 +4,26 @@
71+
* See COPYING.txt for license details.
72+
*/
73+
-->
74+
-<div class="shipping-address-item" data-bind="css: isSelected() ? 'selected-item' : 'not-selected-item'">
75+
- <!-- ko text: address().prefix --><!-- /ko --> <!-- ko text: address().firstname --><!-- /ko -->
76+
- <!-- ko text: address().lastname --><!-- /ko --> <!-- ko text: address().suffix --><!-- /ko --><br/>
77+
- <!-- ko text: address().street --><!-- /ko --><br/>
78+
- <!-- ko text: address().city --><!-- /ko -->, <span data-bind="html: address().region"></span> <!-- ko text: address().postcode --><!-- /ko --><br/>
79+
- <!-- ko text: getCountryName(address().countryId) --><!-- /ko --><br/>
80+
- <!-- ko if: (address().telephone) -->
81+
- <a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a>
82+
- <!-- /ko --><br/>
83+
- <!-- ko foreach: { data: address().customAttributes, as: 'element' } -->
84+
- <!-- ko foreach: { data: Object.keys(element), as: 'attribute' } -->
85+
- <!-- ko if: (typeof element[attribute] === "object") -->
86+
- <!-- ko text: element[attribute].value --><!-- /ko -->
87+
- <!-- /ko -->
88+
- <!-- ko if: (typeof element[attribute] === "string") -->
89+
- <!-- ko text: element[attribute] --><!-- /ko -->
90+
- <!-- /ko --><br/>
91+
- <!-- /ko -->
92+
- <!-- /ko -->
93+
- <!-- ko if: (address().isEditable()) -->
94+
- <button type="button"
95+
+<div class="shipping-address-item" css="'selected-item' : isSelected() , 'not-selected-item':!isSelected()">
96+
+ <text args="address().prefix"/> <text args="address().firstname"/> <text args="address().middlename"/>
97+
+ <text args="address().lastname"/> <text args="address().suffix"/><br/>
98+
+ <text args="_.values(address().street).join(', ')"/><br/>
99+
+ <text args="address().city "/>, <span text="address().region"></span> <text args="address().postcode"/><br/>
100+
+ <text args="getCountryName(address().countryId)"/><br/>
101+
+ <a if="address().telephone" attr="'href': 'tel:' + address().telephone" text="address().telephone"></a><br/>
102+
+
103+
+ <each args="data: address().customAttributes, as: 'element'">
104+
+ <text args="$parent.getCustomAttributeLabel(element)"/>
105+
+ <br/>
106+
+ </each>
107+
+ <button visible="address().isEditable()" type="button"
108+
class="action edit-address-link"
109+
- data-bind="click: editAddress, visible: address().isEditable()">
110+
- <span data-bind="i18n: 'Edit'"></span>
111+
+ click="editAddress">
112+
+ <span translate="'Edit'"></span>
113+
</button>
114+
- <!-- /ko -->
115+
- <button type="button" data-bind="click: selectAddress, visible: !isQuoteAddressLocked" class="action action-select-shipping-item">
116+
- <span data-bind="i18n: 'Ship Here'"></span>
117+
+ <!-- ko if: (!isSelected()) -->
118+
+ <button type="button" click="selectAddress" class="action action-select-shipping-item">
119+
+ <span translate="'Ship Here'"></span>
120+
</button>
121+
+ <!-- /ko -->
122+
</div>
123+
diff --git a/vendor/magento/module-purchase-order/view/frontend/web/js/view/checkout/shipping-address/list.js b/vendor/magento/module-purchase-order/view/frontend/web/js/view/checkout/shipping-address/list.js
124+
index 1fe4acbf85..c98f97733e 100644
125+
--- a/vendor/magento/module-purchase-order/view/frontend/web/js/view/checkout/shipping-address/list.js
126+
+++ b/vendor/magento/module-purchase-order/view/frontend/web/js/view/checkout/shipping-address/list.js
127+
@@ -18,7 +18,8 @@ define([
128+
defaultRendererTemplate = {
129+
parent: '${ $.$data.parentName }',
130+
name: '${ $.$data.name }',
131+
- component: 'Magento_PurchaseOrder/js/view/checkout/shipping-address/address-renderer/default'
132+
+ component: 'Magento_PurchaseOrder/js/view/checkout/shipping-address/address-renderer/default',
133+
+ provider: 'checkoutProvider'
134+
};
135+
136+
return Component.extend({
137+
diff --git a/vendor/magento/module-purchase-order/view/frontend/web/template/checkout/shipping-information/address-renderer/default.html b/vendor/magento/module-purchase-order/view/frontend/web/template/checkout/shipping-information/address-renderer/default.html
138+
index a91fc816f0..26dd7742d1 100644
139+
--- a/vendor/magento/module-purchase-order/view/frontend/web/template/checkout/shipping-information/address-renderer/default.html
140+
+++ b/vendor/magento/module-purchase-order/view/frontend/web/template/checkout/shipping-information/address-renderer/default.html
141+
@@ -13,22 +13,7 @@
142+
<a if="address().telephone" attr="'href': 'tel:' + address().telephone" text="address().telephone"></a><br/>
143+
144+
<each args="data: address().customAttributes, as: 'element'">
145+
- <each args="data: Object.keys(element), as: 'attribute'">
146+
- <!-- ko if: (element[attribute].attribute_code != "default_company_address") -->
147+
- <if args="typeof element[attribute] === 'object'">
148+
- <if args="element[attribute].label">
149+
- <text args="element[attribute].label"/>
150+
- </if>
151+
- <ifnot args="element[attribute].label">
152+
- <if args="element[attribute].value">
153+
- <text args="element[attribute].value"/>
154+
- </if>
155+
- </ifnot>
156+
- </if>
157+
- <if args="typeof element[attribute] === 'string'">
158+
- <text args="element[attribute]"/>
159+
- </if><br/>
160+
- <!-- /ko -->
161+
- </each>
162+
+ <text args="$parent.getCustomAttributeLabel(element)"/>
163+
+ <br/>
164+
</each>
165+
</if>

0 commit comments

Comments
 (0)