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

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

[bug]: Invalid cart validation error #4255

joseamietta opened this issue Apr 26, 2024 · 8 comments
Assignees
Labels
bug Something isn't working issue: Cannot Reproduce when issue not reproducible by internal team they might required additional info or steps missing Issue: Needs Update Additional information is require, waiting for response Progress: done

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.

@glo85315
Copy link
Contributor

HI @joseamietta ,
Thank you for bringing this issue to our attention. We’ve thoroughly investigated and attempted to reproduce the problem you described, but unfortunately, we were unable to replicate the issue on our end.
To assist you further, could you please provide any additional details or steps that might help us reproduce the issue

PWA-3268.mov

@glo85315 glo85315 added the issue: Cannot Reproduce when issue not reproducible by internal team they might required additional info or steps missing label Aug 19, 2024
@glo42707 glo42707 added Issue: Needs Update Additional information is require, waiting for response and removed Progress: ready for grooming labels Aug 19, 2024
@joseamietta
Copy link
Author

Hi @glo85315,
You have to leave the cart session or customer session expire, and then reload the page.
In this moment the active cart isn’t valid and can’t add a product to cart. Again, it’s necessary that de customer or cart session expire to reproduce it.

@glo85315
Copy link
Contributor

HI @joseamietta ,
I was unable to reproduce the issue on my end. To better understand and address the problem, could you please provide a video demonstrating the steps to reproduce the issue? This will greatly assist us in resolving it more efficiently.

Thank you for your assistance. I look forward to your response.

pwa-3268-1.mov

@glo82145
Copy link
Collaborator

As we have got no update from more than 14 days hence we are closing this ticket.
Please feel free to reopen in case of any update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working issue: Cannot Reproduce when issue not reproducible by internal team they might required additional info or steps missing Issue: Needs Update Additional information is require, waiting for response Progress: done
Projects
None yet
Development

No branches or pull requests

5 participants