Skip to content

Fixed a Mutex exception that could occur in certain scenarios when retrieving a cart#198

Merged
engram-design merged 1 commit intoverbb:craft-4from
angrybrad:craft-4
Oct 8, 2025
Merged

Fixed a Mutex exception that could occur in certain scenarios when retrieving a cart#198
engram-design merged 1 commit intoverbb:craft-4from
angrybrad:craft-4

Conversation

@angrybrad
Copy link
Contributor

@angrybrad angrybrad commented Oct 7, 2025

Grab the existing cart/order based on the lineitem, rather than trying to retrieve an existing one based on the current session.

This prevents a scenario in which a mutex exception occurs after logging in when trying to restore a user's cart.

Can be merged into the Craft 5 compatible branch, as the issue exists there, too.

@engram-design
Copy link
Member

Thanks @angrybrad appreciate it!

@engram-design engram-design merged commit 7ead55b into verbb:craft-4 Oct 8, 2025
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

Successfully merging this pull request may close these issues.

2 participants