Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b0d58cc

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - magento/magento2#14433: [Forwardport] Add getters to product image builder (by @mastiuhin-olexandr) - magento/magento2#14322: #7816: Customer_account.xml file abused (2.3) (by @mikewhitby) - magento/magento2#14414: [FORWARDPORT 2.3] Remove duplicated case statement (by @coderimus) - magento/magento2#14416: [FORWARDPORT 2.3] Removed cache backend option which explicitly set file permissions (by @xtremeperf) Fixed GitHub Issues: - magento/magento2#7816: Customer_account.xml file abused (reported by @LiamFielding) has been fixed in magento/magento2#14322 by @mikewhitby in 2.3-develop branch Related commits: 1. caf5b3e - magento/magento2#10700: Magento 2 Admin panel show loading on each page (reported by @historylife) has been fixed in magento/magento2#14416 by @xtremeperf in 2.3-develop branch Related commits: 1. 87ad6eb - magento/magento2#11930: setup:di:compile's generated cache files inaccessible by the web-server user (reported by @JanisE) has been fixed in magento/magento2#14416 by @xtremeperf in 2.3-develop branch Related commits: 1. 87ad6eb
2 parents 415d9c2 + 49ba8ae commit b0d58cc

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

app/code/Magento/Backend/view/adminhtml/templates/widget/form/element.phtml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@
4646
<input type="<?= /* @escapeNotVerified */ $element->getType() ?>" name="<?= /* @escapeNotVerified */ $element->getName() ?>" id="<?= $element->getHtmlId() ?>" value="<?= /* @escapeNotVerified */ $element->getValue() ?>" class="input-text <?= /* @escapeNotVerified */ $element->getClass() ?>" title="<?= /* @escapeNotVerified */ $element->getTitle() ?>"/>
4747
</span>
4848
<?php break;
49-
case 'hidden': ?>
50-
<input type="<?= /* @escapeNotVerified */ $element->getType() ?>" name="<?= /* @escapeNotVerified */ $element->getName() ?>" id="<?= $element->getHtmlId() ?>" value="<?= /* @escapeNotVerified */ $element->getValue() ?>">
51-
<?php break;
5249
case 'radios': ?>
5350
<span class="form_row">
5451
<label for="<?= $element->getHtmlId() ?>"><?= /* @escapeNotVerified */ $element->getLabel() ?>:</label>

app/code/Magento/Catalog/Block/Product/ImageBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public function create()
146146
'custom_attributes' => $this->getCustomAttributes(),
147147
'resized_image_width' => $imagesize[0],
148148
'resized_image_height' => $imagesize[1],
149+
'product_id' => $this->product->getId()
149150
],
150151
];
151152

app/code/Magento/Catalog/Test/Unit/Block/Product/ImageBuilderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ private function getTestDataWithoutAttributes(): array
252252
'custom_attributes' => '',
253253
'resized_image_width' => 100,
254254
'resized_image_height' => 100,
255+
'product_id' => null
255256
],
256257
],
257258
];
@@ -286,6 +287,7 @@ private function getTestDataWithAttributes(): array
286287
'custom_attributes' => 'name_1="value_1" name_2="value_2"',
287288
'resized_image_width' => 120,
288289
'resized_image_height' => 70,
290+
'product_id' => null
289291
],
290292
],
291293
];

app/code/Magento/Customer/Controller/Account/Index.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public function __construct(
3535
*/
3636
public function execute()
3737
{
38-
/** @var \Magento\Framework\View\Result\Page $resultPage */
39-
$resultPage = $this->resultPageFactory->create();
40-
$resultPage->getConfig()->getTitle()->set(__('My Account'));
41-
return $resultPage;
38+
return $this->resultPageFactory->create();
4239
}
4340
}

app/code/Magento/Customer/view/frontend/layout/customer_account.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
*/
77
-->
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" label="Customer My Account (All Pages)" design_abstraction="custom">
9+
<head>
10+
<title>My Account</title>
11+
</head>
912
<body>
1013
<attribute name="class" value="account"/>
1114
<referenceContainer name="sidebar.main">

app/code/Magento/Reports/Controller/Adminhtml/Report/Sales.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ protected function _isAllowed()
5656
case 'coupons':
5757
return $this->_authorization->isAllowed('Magento_Reports::coupons');
5858
break;
59-
case 'shipping':
60-
return $this->_authorization->isAllowed('Magento_Reports::shipping');
61-
break;
6259
case 'bestsellers':
6360
return $this->_authorization->isAllowed('Magento_Reports::bestsellers');
6461
break;

lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class Factory
7171
*/
7272
protected $_backendOptions = [
7373
'hashed_directory_level' => 1,
74-
'hashed_directory_umask' => 0777,
7574
'file_name_prefix' => 'mage',
7675
];
7776

0 commit comments

Comments
 (0)