magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 683 forks source link

[bug]: Re-Change Zip code data in Estimate Shipping Form at cart page error #2751

Closed huykon closed 4 years ago

huykon commented 4 years ago

Describe the bug I tried to change to zip code data when I submitted Estimate shipping method at cart page and error showing. "Can't find field 'country' on object { "__typename": "ShippingCartAddress", "selected_shipping_method": { "__typename": "SelectedShippingMethod", "amount": { "__typename": "Money", "currency": "USD", "value": 0 } } }"

To reproduce Steps to reproduce the behavior:

  1. Add any a product to cart
  2. Go to cart page
  3. Fill your country, state & zip code and submit that
  4. Try to re-change zip code (remove, add new, edit, ...)
  5. See error display (develop mode will show full screen & production mode show on console tab of browser)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Screenshot

Additional context Add any other context about the problem here.

Possible solutions Add any ideas about possible solutions to the problem here.

Please complete the following device information:

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 4 years ago

Hi @huykon. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


sirugh commented 4 years ago

Should be fixed by https://github.com/magento/pwa-studio/pull/2744 which was merged recently. Can you double check?

huykon commented 4 years ago

@sirugh I pulled the newest code from develop branch but still have that error

sirugh commented 4 years ago

Oh, that's because it was merged to the release/8.0 branch, which has not been backmerged yet!

huykon commented 4 years ago

Oh, that's nice. I hope that fixed