Skip to content

Commit 221e2a4

Browse files
author
Oleksii Korshenko
authored
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - magento-engcom/magento2ce#1325: [EngCom Team] Batch 23. Forwardports to 2.3-develop (by @magento-engcom-team) - #13301: Add @see tag to deprecated property (by @akiojalehto) - #13304: Fix misspellings in method names and deprecate old ones (by @akiojalehto) Fixed GitHub Issues: - #10128: New Orders not being saved to order grid (reported by @joergmaertin) has been fixed in magento-engcom/magento2ce#1325 by @magento-engcom-team in 2.3-develop branch Related commits: 1. e84cb3e 2. 742819b 3. cc2b11f 4. ae8b187 5. 35b3c02 6. eae8936 7. 90e4923 8. b098dbc 9. e8e4cdd 10. 058e5e5 11. 9368d5d 12. bf19409 13. a15ec34 14. 9e4ce76 15. 0995681 16. 6772a2d 17. b0d6bfc 18. b037357 19. 8de5951 - #11740: Sending emails from Admin in Multi-Store Environment defaults to Primary Store (reported by @lee586) has been fixed in magento-engcom/magento2ce#1325 by @magento-engcom-team in 2.3-develop branch Related commits: 1. e84cb3e 2. 742819b 3. cc2b11f 4. ae8b187 5. 35b3c02 6. eae8936 7. 90e4923 8. b098dbc 9. e8e4cdd 10. 058e5e5 11. 9368d5d 12. bf19409 13. a15ec34 14. 9e4ce76 15. 0995681 16. 6772a2d 17. b0d6bfc 18. b037357 19. 8de5951 - #12209: Substitution payment method - Incorrect message (reported by @ihor-sviziev) has been fixed in magento-engcom/magento2ce#1325 by @magento-engcom-team in 2.3-develop branch Related commits: 1. e84cb3e 2. 742819b 3. cc2b11f 4. ae8b187 5. 35b3c02 6. eae8936 7. 90e4923 8. b098dbc 9. e8e4cdd 10. 058e5e5 11. 9368d5d 12. bf19409 13. a15ec34 14. 9e4ce76 15. 0995681 16. 6772a2d 17. b0d6bfc 18. b037357 19. 8de5951 - #12601: A space between the category page and the main footer when applying specific settings (reported by @wd7080) has been fixed in magento-engcom/magento2ce#1325 by @magento-engcom-team in 2.3-develop branch Related commits: 1. e84cb3e 2. 742819b 3. cc2b11f 4. ae8b187 5. 35b3c02 6. eae8936 7. 90e4923 8. b098dbc 9. e8e4cdd 10. 058e5e5 11. 9368d5d 12. bf19409 13. a15ec34 14. 9e4ce76 15. 0995681 16. 6772a2d 17. b0d6bfc 18. b037357 19. 8de5951
2 parents 81ace6a + a6f1fb8 commit 221e2a4

File tree

22 files changed

+290
-25
lines changed

22 files changed

+290
-25
lines changed

app/code/Magento/Backend/Block/Dashboard/Orders/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function _prepareCollection()
9292
protected function _afterLoadCollection()
9393
{
9494
foreach ($this->getCollection() as $item) {
95-
$item->getCustomer() ?: $item->setCustomer('Guest');
95+
$item->getCustomer() ?: $item->setCustomer($item->getBillingAddress()->getName());
9696
}
9797
return $this;
9898
}

app/code/Magento/Checkout/view/frontend/templates/cart/coupon.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<div class="field">
2525
<label for="coupon_code" class="label"><span><?= /* @escapeNotVerified */ __('Enter discount code') ?></span></label>
2626
<div class="control">
27-
<input type="text" class="input-text" id="coupon_code" name="coupon_code" value="<?= $block->escapeHtml($block->getCouponCode()) ?>" placeholder="<?= $block->escapeHtml(__('Enter discount code')) ?>" />
27+
<input type="text" class="input-text" id="coupon_code" name="coupon_code" value="<?= $block->escapeHtml($block->getCouponCode()) ?>" placeholder="<?= $block->escapeHtml(__('Enter discount code')) ?>" <?php if (strlen($block->getCouponCode())): ?> disabled="disabled" <?php endif; ?> />
2828
</div>
2929
</div>
3030
<div class="actions-toolbar">

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Js.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,21 @@ public function __construct(
3636
parent::__construct($context, $data);
3737
}
3838

39+
/**
40+
* @deprecated Misspelled method
41+
* @see getCompatibleInputTypes
42+
*/
43+
public function getComaptibleInputTypes()
44+
{
45+
return $this->getCompatibleInputTypes();
46+
}
47+
3948
/**
4049
* Get compatible input types.
4150
*
4251
* @return array
4352
*/
44-
public function getComaptibleInputTypes()
53+
public function getCompatibleInputTypes()
4554
{
4655
return $this->inputtype->getVolatileInputTypes();
4756
}

app/code/Magento/Eav/Model/AttributeManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class AttributeManagement implements \Magento\Eav\Api\AttributeManagementInterfa
2323
/**
2424
* @var \Magento\Eav\Model\ResourceModel\Entity\Attribute\Collection
2525
* @deprecated 100.2.0 please use instead \Magento\Eav\Model\ResourceModel\Entity\Attribute\CollectionFactory
26+
* @see $attributeCollectionFactory
2627
*/
2728
protected $attributeCollection;
2829

app/code/Magento/Indexer/Model/Message/Invalid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function getText()
7171
return __(
7272
'One or more <a href="%1">indexers are invalid</a>. Make sure your <a href="%2" target="_blank">Magento cron job</a> is running.',
7373
$url,
74-
'http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html#config-cli-cron-bkg'
74+
'http://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html#create-or-remove-the-magento-crontab'
7575
);
7676
//@codingStandardsIgnoreEnd
7777
}

app/code/Magento/Payment/view/adminhtml/templates/info/substitution.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*/
1111
?>
1212
<div>
13-
<?php $block->escapeHtml($block->getMethod()->getTitle());?>
13+
<?= $block->getMethod()->getTitle()
14+
? $block->escapeHtml($block->getMethod()->getTitle())
15+
: $block->escapeHtml(__('Payment method')); ?>
1416
<?= $block->escapeHtml(__(' is not available. You still can process offline actions.')) ?>
1517
</div>

app/code/Magento/Review/Controller/Adminhtml/Rating.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,18 @@ public function __construct(
4141
}
4242

4343
/**
44-
* @return void
44+
* @deprecated Misspelled method
45+
* @see initEntityId
4546
*/
4647
protected function initEnityId()
48+
{
49+
$this->initEntityId();
50+
}
51+
52+
/**
53+
* @return void
54+
*/
55+
protected function initEntityId()
4756
{
4857
$this->coreRegistry->register(
4958
'entityId',

app/code/Magento/Review/Controller/Adminhtml/Rating/Edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Edit extends RatingController
1515
*/
1616
public function execute()
1717
{
18-
$this->initEnityId();
18+
$this->initEntityId();
1919
/** @var \Magento\Review\Model\Rating $ratingModel */
2020
$ratingModel = $this->_objectManager->create(\Magento\Review\Model\Rating::class);
2121
if ($this->getRequest()->getParam('id')) {

app/code/Magento/Review/Controller/Adminhtml/Rating/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Index extends RatingController
1515
*/
1616
public function execute()
1717
{
18-
$this->initEnityId();
18+
$this->initEntityId();
1919
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
2020
$resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
2121
$resultPage->setActiveMenu('Magento_Review::catalog_reviews_ratings_ratings');

app/code/Magento/Review/Controller/Adminhtml/Rating/Save.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Save extends RatingController
1717
*/
1818
public function execute()
1919
{
20-
$this->initEnityId();
20+
$this->initEntityId();
2121
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
2222
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
2323
if ($this->getRequest()->getPostValue()) {

0 commit comments

Comments
 (0)