Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Invalid cart validation error #4255

Open
1 of 8 tasks
joseamietta opened this issue Apr 26, 2024 · 4 comments
Open
1 of 8 tasks

[bug]: Invalid cart validation error #4255

joseamietta opened this issue Apr 26, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@joseamietta
Copy link

Describe the bug

When the cart is invalid, it's never refresh when the language is not en_US

To reproduce

Steps to reproduce the behavior:

  1. First of all, you need a backend environment with selected language different of en_US, for example: es_ES
  2. Go to the pwa studio page, initilize a cart and wait that backend session expire
  3. Then observe the graphQl miniCart response and you will see that error similar to invalid cart in the selected language
  4. The cartId never updated unless the localStorage is deleted

Expected behavior

That the cart be updated when it's not available and does not depend on the graphQl error

Screenshots

Screenshot from 2024-04-26 09-59-04

Please complete the following device information:

  • Device [NoteBook Levono]:
  • Browser [Chrome]:
  • Browser Version [124.0.6367.78 (Official Build) (64-bit)]:
  • Magento Version [Adobe Commerce 2.4.6-p3]:

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

  • venia-concept
  • venia-ui
  • pwa-buildpack
  • peregrine
  • pwa-devdocs
  • upward-js
  • upward-spec
  • create-pwa
@joseamietta joseamietta added the bug Something isn't working label Apr 26, 2024
Copy link

m2-assistant bot commented Apr 26, 2024

Hi @joseamietta. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

@joseamietta
Copy link
Author

@magento I am working on this

@glo82145
Copy link
Collaborator

glo82145 commented May 8, 2024

@adobe export issue to Jira project PWA

@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/PWA-3268 is successfully created for this GitHub issue.

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

No branches or pull requests

3 participants