MDVA-31242: issue in exporting orders in CSV format

The MDVA-31242 patch solves the issue where an error occurs when exporting orders in CSV file format. This patch is available when the Quality Patches Tool (QPT) 1.0.8 is installed. Please note that the issue was fixed in Adobe Commerce 2.4.2.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce on cloud infrastructure 2.4.0

Compatible with Adobe Commerce versions:

  • Adobe Commerce (deploment methods) 2.3.0 - 2.4.0-p1
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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.


Steps to reproduce:

  1. Log in to the Admin backend.
  2. Enable Company at Stores > Configuration > B2B Features.
  3. Go to Sales > Orders.
  4. Click the Column > Company Name checkbox.
  5. Enter any value into the Filters > Company Name text field.
  6. Click the Apply Filters button.
  7. Click the Export > CSV > Export button.

Expected results:

The selected file pop-up is opened as expected.

Actual results:

White screen with the error There has been an error processing your request exception is displayed.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.