ACSD-47910: missing orders, invoices, shipments, and credit memos in respective entity grids

The ACSD-47910 patch fixes the issue where there are missing orders, invoices, shipments, and credit memos in respective entity grids. This patch is available when the Quality Patches Tool (QPT) 1.1.25 is installed. The patch ID is ACSD-47910. The version where this issue will be fixed is not yet available.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.4-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.5-p4
NOTE
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.

Issue

Missing orders, invoices, shipments, and credit memos in respective entity grids.

Steps to reproduce:

  1. Enable Asynchronous indexing at Stores > Settings > Configuration > Advanced > Developer > Grid Settings.
  2. Place two orders.
  3. Run the cron to sync those orders to the grid.
  4. Open one of the orders and make it ready to be invoiced. DO NOT SUBMIT THE INVOICE YET.
  5. Make a new order ready to be placed on the frontend. DO NOT CLICK ON THE PLACE ORDER BUTTON YET.
  6. Add a sleep(30) in the foreach at NotSyncedDataProvider::L43.
  7. Run bin/magento cron:run.
  8. Now place the new order.
  9. Invoice the previous order.
  10. Run the cron again expecting the new order to be synced.
  11. Go to the order grid in the Admin.

Expected results:

The new order should appear on the order grid.

Actual results:

The previous order update has been synced to the grid (status: Processing). The new order never appears on the grid.

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 Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3