ACSD-51700: Error switching store views on downloadable product edit page

The ACSD-51700 patch fixes the issue where an error occurs when switching store views on a downloadable product edit page in the admin. This patch is available when the Quality Patches Tool (QPT) 1.1.33 is installed. The patch ID is ACSD-51700. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p2

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.7 - 2.4.6-p1

Issue

An error occurs when switching store views on a downloadable product edit page in the admin.

Steps to reproduce:

  1. Create a downloadable product with a name, SKU, and price. Do not add any links, and save the product.
  2. Switch from all store views to the default store view.
  3. Create a link for the downloadable product and save it.
  4. Switch from the default store view to all store views.

Expected results:

The linked products are visible.

Actual results:

The following error is displayed:

Deprecated Functionality: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in vendor/magento/module-downloadable/Ui/DataProvider/Product/Form/Modifier/Data/Links.php on line 228

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
8bd06ef0-b3d5-4137-b74e-d7b00485808a