This article provides a patch for the known Adobe Commerce 2.2.1 issue related to the orders not being displayed in the Orders grid in the Commerce Admin.
In the Adobe Commerce 2.2.1 with B2B extension installed, orders created on the storefront by a registered customer are not displayed in the list of orders in the customer’s account in the Commerce Admin. In the debug log (./var/log/debug.log
), the following error is logged:
report.CRITICAL: You cannot define a correlation name ‘company_order’ more than once
Prerequisites:
Your store catalog contains products, not Adobe Commerce sample data, and the B2B extension is installed.
Steps to reproduce:
Expected result:
The recently submitted order is listed in the grid.
Actual result:
The Orders grid does not display. A blank page displays instead.
The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
Download MDVA-7868_EE_2.2.1_v1_composer.patch
The patch was created for:
The patch is also compatible (but might not solve the issue) with the following Adobe Commerce versions and editions:
See How to apply a composer patch provided by Adobe Commerce in our support knowledge base, for instructions.