Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

MC-19746: The shipping address contains null values when there's no… #906

Merged
merged 13 commits into from
Sep 11, 2019

Conversation

cpartica
Copy link
Contributor

@cpartica cpartica commented Sep 5, 2019

… shipping address set on a cart

  • return null instead of fields when there's no selected method

Description (*)

Fixed Issues (if relevant)

  1. The shipping address contains null values when there's no shipping address set on a cart #864: The shipping address contains null values when there's no shipping address set on a cart

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 are green)

Vitaliy Boyko and others added 2 commits August 31, 2019 15:01
… shipping address set on a cart

- return null instead of fields when there's no selected method
@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Sep 5, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ VitaliyBoyko
❌ cpartica

… shipping address set on a cart

- remove condition because it not the correct condition
… shipping address set on a cart

- add validator to check if address was set
… shipping address set on a cart

- fix variable initialization
… shipping address set on a cart

- fix tests
… shipping address set on a cart

- fix changes to also apply to 2.3.2
… shipping address set on a cart

- fix test
… shipping address set on a cart

- fix test
… shipping address set on a cart

- fix test
# Conflicts:
#	app/code/Magento/QuoteGraphQl/Model/Resolver/ShippingAddress/SelectedShippingMethod.php
#	dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/GetSelectedShippingMethodTest.php
@lenaorobei
Copy link
Contributor

@magento run all tests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants