ÃÛ¶¹ÊÓÆµ

[PaaS only]{class="badge informative" title="Applies to ÃÛ¶¹ÊÓÆµ Commerce on Cloud projects (ÃÛ¶¹ÊÓÆµ-managed PaaS infrastructure) and on-premises projects only."}

ACSD-66965: Print option on Requisition List page causes an error

The ACSD-66965 patch fixes the issue where the Print option on the Requisition List page causes an error. This patch is available when the Quality Patches Tool (QPT) 1.1.68 is installed. The patch ID is ACSD-66965. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.

Affected products and versions

The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.8

Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:

  • ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.7-p3 - 2.4.8-p1
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your ÃÛ¶¹ÊÓÆµ 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

Print option on the Requisition List page causes an error due to a null object reference in Grid.php.

Steps to reproduce:

  1. Go to Stores > Settings > Configuration > General > B2B Features.
  2. Set Enable Company, Enable Shared Catalog and Enable Requisition List to Yes.
  3. Create two simple products.
  4. Log in to the storefront and open the My Account page.
  5. Create a requisition list.
  6. Assign both products to the requisition list.
  7. Access the requisition list and list the products.
  8. Click Print.

Expected results:

The Print option on the Requisition List page displays the print preview without errors.

Actual results:

The following error message appears: An error has happened during application run. See exception log for details.

Call to a member function setCollection() on null in /vendor/magento/module-requisition-list/Block/Requisition/View/Items/Grid.php:146

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:

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