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

items are not populated to SetShippingAddressesOnCartOutput #410

Closed
TomashKhamlai opened this issue Feb 26, 2019 · 2 comments
Closed

items are not populated to SetShippingAddressesOnCartOutput #410

TomashKhamlai opened this issue Feb 26, 2019 · 2 comments
Labels
bug Something isn't working Component: QuoteGraphQl

Comments

@TomashKhamlai
Copy link
Contributor

Could be not a bug

Preconditions (*)

  1. Customer is created
  2. Simple Product is created

Steps to reproduce (*)

  1. Generate Customer token (GraphQL)
  2. Create empty cart (GraphQL)
  3. Add Simple Product to Cart (GraphQL)
  4. Set shipping address on cart
mutation {
  setShippingAddressesOnCart(
    input: {
      cart_id: "{{ CADT_ID }}"
      shipping_addresses: {
        customer_address_id: {{ ADDRESS_ID }}
      }
    }
  ) {
    cart {
      items {
        product {
          ... on PhysicalProductInterface {
            weight
          }
        }
      }
    }
  }
}

Expected result (*)

  1. data.setShippingAddressesOnCart.cart.items is populated with data

Actual result (*)

  1. data.setShippingAddressesOnCart.cart.items is null
@XxXgeoXxX XxXgeoXxX self-assigned this Feb 27, 2019
@naydav
Copy link
Contributor

naydav commented Mar 1, 2019

@TomashKhamlai @XxXgeoXxX
Please, recheck this bug on last 2.3-develop branch
Should have been fixed in the scope of #330

@naydav naydav added the bug Something isn't working label Mar 2, 2019
@XxXgeoXxX
Copy link
Member

rechecked.
Issue was fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Component: QuoteGraphQl
Projects
None yet
Development

No branches or pull requests

3 participants