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:
- Create a downloadable product with a name, SKU, and price. Do not add any links, and save the product.
- Switch from all store views to the default store view.
- Create a link for the downloadable product and save it.
- 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:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.