Skip to content

Conversation

nmalevanec
Copy link
Contributor

@nmalevanec nmalevanec commented Oct 23, 2017

Backport MAGETWO-52856 from 2.2.0 to 2.1 - develop

Description

Provide seamless experience on checkout with large amount of customer addresses.

Fixed Issues (if relevant)

  1. Get MAGETWO-52856 into Magento 2.1.x #9007: Get MAGETWO-52856 into Magento 2.1.x

Manual testing scenarios

  1. Log in as a customer
  2. Create 581 addresses
  3. Go to checkout

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Oct 23, 2017

CLA assistant check
All committers have signed the CLA.

@ishakhsuvarov ishakhsuvarov self-assigned this Oct 23, 2017
* @return \Magento\Quote\Api\CartRepositoryInterface
* @deprecated
*/
private function getCartRepository()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please try injecting this dependency as an optional constructor argument. Please refer to Backwards Compatible Development Guide for more information

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmalevanec nmalevanec changed the title MAGETWO-9007: Get MAGETWO-52856 into Magento 2.1.x 9007: Get MAGETWO-52856 into Magento 2.1.x Oct 27, 2017
@okorshenko okorshenko merged commit 0c8460e into magento:2.1-develop Oct 27, 2017
okorshenko pushed a commit that referenced this pull request Oct 27, 2017
[EngCom] Public Pull Requests - 2.1-develop
 - MAGETWO-82527: Backport MAGETWO-52856 into Magento 2.1.x #11640
@okorshenko okorshenko self-assigned this Nov 16, 2017
) {
$this->billingAddressManagement = $billingAddressManagement;
$this->paymentMethodManagement = $paymentMethodManagement;
$this->cartManagement = $cartManagement;
$this->paymentDetailsFactory = $paymentDetailsFactory;
$this->cartTotalsRepository = $cartTotalsRepository;
$this->cartRepository = $cartRepository ? : \Magento\Framework\App\ObjectManager::getInstance()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why using the object manager in the constructor?

@nmalevanec nmalevanec deleted the MAGETWO-9007 branch August 21, 2018 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants