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] Guest mode - Edit guest info and data are lost #51

Open
acsonefho opened this issue Oct 11, 2019 · 2 comments
Open

[BUG] Guest mode - Edit guest info and data are lost #51

acsonefho opened this issue Oct 11, 2019 · 2 comments

Comments

@acsonefho
Copy link

acsonefho commented Oct 11, 2019

When you're in guest mode and you want to edit your information, every data (address etc) related to the guest partner are lost (cart still correct).

How to reproduce

  • Browse the website (not logged) and add some products into your cart;
  • Go on the cart and pick the guest mode to validate it;
  • Fill your information;
  • Then you're redirected to a page who ask you shipping address etc;
  • Click on the one that you just create to edit it;
  • Edit the address for example;
  • Validate;
  • Now you're redirected to the same page as before (with your shipping address etc) but this time everything is empty (that's the bug => all your info are lost).

Additional details

  • After the creation of the guest partner, the binding doesn't have an external id (quite logic because the partner is not created into locomotive).
  • After the address update, new data are correctly saved into Odoo (but not returned to the front)
  • Due to this update on Odoo side, a queue job is created and try to make the update on locomotive. This update create the partner account on locomotive (and we have the external id into Odoo).

I don't know if this issue is due to locomotive or shopinvader, but as locomotive manage the session etc, I think this issue is related to locomotive.

This issue seems happening only in guest mode.

@acsonefho
Copy link
Author

@lmignon @sebastienbeau Any idea about this ?
Thanks :)

@lmignon
Copy link
Contributor

lmignon commented Oct 11, 2019

@acsonefho No idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants