Open
Description
Preconditions and environment
- 2.4.7-p1
Steps to reproduce
- Add a product to the cart with customizable options
- Make changes causing that customizable option to no longer exist on that product.
- Attempt to get the cart using graphql
{
cart(cart_id: "xxxx") {
items {
... on SimpleCartItem {
customizable_options {
label
values {
label
value
}
}
}
}
}
}
- See the internal server error with message "Cannot return null for non-nullable field "SelectedCustomizableOption.label""
Expected result
I would expect the item to be returned without the selected option that no longer exists
Actual result
I am unable to interact with the cart anymore and am greeted with
Cannot return null for non-nullable field "SelectedCustomizableOption.label"
errors
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready for Development