Skip to content

Fixed: Configurable product selections leak between shopping carts through the product config cache (OFBIZ-13773) - #2503

Merged
mridulpathak merged 1 commit into
apache:release24.09from
mridulpathak:OFBIZ-13773-release24.09
Oct 30, 2026
Merged

mridulpathak merged 1 commit into
apache:release24.09from
mridulpathak:OFBIZ-13773-release24.09

Conversation

@mridulpathak

Copy link
Copy Markdown
Contributor

Backported from trunk (#2502).

… cache

ProductConfigWorker.getProductConfigWrapper returned the cached ProductConfigWrapper itself on a cache miss, so the first customer's selections and comments were written into the cache and copied to every later visitor. It now always returns a copy. Copies were not independent either: a copied ConfigOption kept the source option's parent ConfigItem and shared its componentOptions map, so copied options now belong to the copied item and get their own map.
@mridulpathak
mridulpathak merged commit 0b57ed2 into apache:release24.09 Oct 30, 2026
6 checks passed
@mridulpathak
mridulpathak deleted the OFBIZ-13773-release24.09 branch October 30, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant