-
Notifications
You must be signed in to change notification settings - Fork 677
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]: Expired guest cart for Venia (server error) #1143
Comments
I'm currently waiting for the 20 minutes to expire, but just looking at the retry logic I think there's an infinite loop there:
// if a guest cart already exists, exit
if (cart.guestCartId) {
return;
} It then retries the operation, but it will keep failing because it will keep trying to use the cart ID stored in Redux. |
Reproduction Steps (bad cartId in local storage):
Not that this does not exercise the |
Reproduction Steps (bad cartId in Redux): Prerequisite
Add Item
{
type: 'CART/GET_GUEST_CART/RECEIVE',
payload: 'Bogus!'
} and click the small
Update Item
{
type: 'CART/GET_GUEST_CART/RECEIVE',
payload: 'Bogus!'
} and click the small
Remove Item
{
type: 'CART/GET_GUEST_CART/RECEIVE',
payload: 'Bogus!'
} and click the small
Not that these do not exercise the |
Also try a bogus bearer ( Edit: Tried this, nothing changed. Application hangs when attempting to add item to cart. |
Describe the bug
After 20 minutes using a guest cart, an error message of "500 Internal Server .." appears which is a false positive.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error message shown.
Screenshots
If applicable, add screenshots to help explain your problem.
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:
npm -v
:node -v
:Please let us know what packages this bug is in regards to:
venia-concept
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
The text was updated successfully, but these errors were encountered: