Closed (fixed)
Project:
Commerce Core
Version:
3.x-dev
Component:
Order
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2025 at 11:32 UTC
Updated:
3 Dec 2025 at 12:19 UTC
Jump to comment: Most recent
We have a custom constraint for the purchased entity reference in the order item "PurchasedEntityAvailable". It runs the availability checkers to validate the referenced entity. The issue there is that the order item that runs validation does not have an order reference, even though it is created on the order form. This leads to unnecessary validation for non-draft orders, and incorrect customer/store in context.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tbkot commentedComment #4
zaporylieBumping to major as missing context is causing orders placed via the Admin UI to run on the incorrect context.
Comment #7
jsacksick commented