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
Order Merging Deleting Orders in Backend Unexpectedly #1449
Comments
Hello there @ericsaupe, tried to reproduce this issue, but no success with the current Can you confirm if this issue is still occuring? If so, could you provide more details so I can have a further look on it? |
I was able to reproduce this issue. The old order is destroyed (not canceled) after the merge, I was not able to replace the |
We've seen this happening too, where customers would sign in causing guest and authenticated orders to be merged, and one of them (can't remember which one right now) would be deleted, so we'd have non-existing orders in our logs, which makes debugging things a nightmare. This is expected behavior, but it's far from ideal. I think we could solve it by creating a special I could take a stab at this if everyone agrees with the approach. |
@aldesantis I started working on the same solution proposed by you! |
Hey @spaghetticode! @kennyadsl Does closing nebulab#37 also entail we should perhaps have closed this issue as well? Or do we need to merge #3486 to fix this issue? |
@cesartalves I think there may still be merit in trying to address this issue - the current behavior doesn't seem ideal as suggested by the commenters. Not sure how we should proceed though. It's probably worth evaluating other simpler solutions (besides adding the |
Here is how to recreate the issue:
Logged in user creates an order with something in their cart using the frontend
Admin user creates order in the backend
Admin adds something to order
Admin associates order with Logged in user on the Customer tab
Logged in user refreshes page (or really does anything) causing the orders to be merged
Admin user no longer has that order and the page throws a 404 due to the order being deleted.
I'm not sure what the proper fix is for it we've just seen it as unexpected order behavior for our admins.
The text was updated successfully, but these errors were encountered: