Adobe Commerce 2.4.0 known issue: orders display error

This article provides a workaround for a known issue in Adobe Commerce for an orders display error. When logged-in customers review their orders in the My Account menu (My Account > My Orders), the orders grid is unable to switch the number of orders per page to 20 from page 2 when there are 11 orders. Also, if there are more orders than is configured to be shown per page, when navigating to the last page with orders, changing the number of orders shown per page produces the error message: You have placed no orders. This issue will be resolved in Adobe Commerce 2.4.1.

Affected products and versions

  • Adobe Commerce on-premises 2.4.0
  • Adobe Commerce on cloud infrastructure 2.4.0

Issue

Prerequisites

  • Adobe Commerce 2.4.0 is installed.
  • Create at least one category and one simple product.

Steps to reproduce

  1. Create 11 orders with products.
  2. Go to My Account.
  3. Go to My Orders.
  4. Click the second page to display the 11th order on the orders grid.
  5. Select Show = 20 per page from the drop-down menu.

Expected result

All 11 orders are displayed on the first page, as expected.

Actual result

The You have placed no orders error message is displayed.

Workaround

The workaround is to have the buyer reopen My Orders page, and then the orders list will be displayed correctly. The issue will be fixed in the next release, Adobe Commerce 2.4.1, which is scheduled for release in Q4 2020.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a