ACSD-55381: Resolving error when requesting configurable product option uids from B2B requisition list
The ACSD-55381 patch fixes the issue where an internal server error occurs during GraphQL queries for configurable_product_option_uid
and configurable_product_option_value_uid
fields from a B2B requisition list. This patch is available when the Quality Patches Tool (QPT) 1.1.42 is installed. The patch ID is ACSD-55381. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.6-p2
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.2 - 2.4.6-p3
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
An internal server error occurs while querying configurable_product_option_uid
and configurable_product_option_value_uid
fields from a B2B requisition list via GraphQL.
Prerequisites:
- Adobe Commerce B2B modules are installed and enabled.
- Requisition List is enabled in the configuration.
Steps to reproduce:
- Log in as a customer on the storefront.
- Add a configurable product to a requisition list.
- Try to retrieve values for
configurable_product_option_uid
andconfigurable_product_option_value_uid
fields using thegetRequisitionList
function in a GraphQL call.
query getRequisitionList {
customer {
requisition_lists(filter: { uids: { eq: "MQo=" } }) {
items {
items(pageSize: 1, currentPage: 1) {
items {
... on ConfigurableRequisitionListItem {
configurable_options {
value_id
id
configurable_product_option_uid
configurable_product_option_value_uid
}
}
}
}
}
}
}
}
Expected results:
{
"data": {
"customer": {
"requisition_lists": {
"items": [
{
"items": {
"items": [
{
"configurable_options": [
{
"value_id": 175,
"id": 186,
"configurable_product_option_uid": "MTg2",
"configurable_product_option_value_uid": "MTc1"
},
{
"value_id": 58,
"id": 93,
"configurable_product_option_uid": "OTM=",
"configurable_product_option_value_uid": "NTg="
}
]
}
]
}
}
]
}
}
}
}
Actual results:
An error occurs.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.