Skip to content

Commit 5b6fec0

Browse files
committed
AC-15286::Order creation in backoffice with multiple products of which at least one contains custom options, leads to unwanted extra products to get added to the order
1 parent c5ff367 commit 5b6fec0

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Sales/Controller/Adminhtml/Order

1 file changed

+5
-2
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/Create.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
namespace Magento\Sales\Controller\Adminhtml\Order;
99

1010
use Magento\Backend\App\Action;
11+
use Magento\Backend\App\Action\Context;
1112
use Magento\Catalog\Model\Product;
1213
use Magento\Framework\App\ObjectManager;
14+
use Magento\Framework\Escaper;
1315
use Magento\Framework\View\Result\PageFactory;
1416
use Magento\Backend\Model\View\Result\ForwardFactory;
1517
use Magento\Sales\Model\Order\Create\ValidateCoupon;
@@ -62,11 +64,12 @@ abstract class Create extends \Magento\Backend\App\Action
6264
private ProductRepositoryInterface $productRepository;
6365

6466
/**
65-
* @param Action\Context $context
67+
* @param Context $context
6668
* @param \Magento\Catalog\Helper\Product $productHelper
67-
* @param \Magento\Framework\Escaper $escaper
69+
* @param Escaper $escaper
6870
* @param PageFactory $resultPageFactory
6971
* @param ForwardFactory $resultForwardFactory
72+
* @param ProductRepositoryInterface|null $productRepository
7073
* @param ValidateCoupon|null $validateCoupon
7174
*/
7275
public function __construct(

0 commit comments

Comments
 (0)