MDVA-38799: Downloadable products not saved after creating a staging update

The MDVA-38799 patch solves the issue where downloadable products are not saved after creating a staging update. This patch is available when the Quality Patches Tool (QPT) 1.1.0 is installed. The patch ID is MDVA-38799. Please note that the issue was fixed in Adobe Commerce version 2.4.3.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce on cloud infrastructure 2.4.1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.0-2.4.2-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 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

Downloadable products are not saved after creating a staging update. Users get the error message: The downloadable sample is not related to the product. Verify the link and try again.

Steps to reproduce:

  1. Navigate to Catalog > Products.
  2. Click the dropdown next to Add Product and select Downloadable Product.
    • Fill out the name, SKU, price, and quantity of the product.
  3. Scroll down to the Downloadable Information page.
  4. Under Samples, click Add Link.
    • Fill out the Title, Upload File (the type of file does not matter).
  5. Click Save. You will get the following message: You saved the product.
  6. Click Schedule New Update at the top of the page.
    • Fill out the Update Name and a legal Start Date and End Date.
  7. Click Save on the staging update.
  8. Click Save on the product.

Expected results:

The product is saved without any error.

Actual results:

You get the error message: The downloadable sample is not related to the product. Verify the link and try again.

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 Patches available in QPT in our developer documentation.

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