{"data":{"id":"MDVA-38799","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where downloadable products weren't saved after creating a staging update.","categories":["Catalog/Product"],"components":["magento/module-downloadable","magento/module-downloadable-staging"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-0/mdva-38799-downloadable-products-were-not-saved-after-creating-a-staging-update","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-0/mdva-38799-downloadable-products-were-not-saved-after-creating-a-staging-update.md","blobSha":"df403a8c1c3d23528de7598012f4e856c43b91b3","description":"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.","stepsToReproduce":"1. Navigate to Catalog > Products. 1. Click the dropdown next to Add Product and select Downloadable Product. * Fill out the name, SKU, price, and quantity of the product. 1. Scroll down to the Downloadable Information page. 1. Under Samples, click Add Link. * Fill out the Title, Upload File (the type of file does not matter). 1. Click Save. You will get the following message: You saved the product. 1. Click Schedule New Update at the top of the page. * Fill out the Update Name and a legal Start Date and End Date. 1. Click Save on the staging update. 1. Click Save on the product.","introducedInQpt":"1.1.0","createdFor":["2.4.1"],"documentedRange":"2.3.0-2.4.2-p1","scheduledFixRelease":null},"files":[{"package":"magento/magento2-base","constraint":">=2.3.0 <2.4.3","path":"patches/os/MDVA-38799_2.4.1.patch","blobSha":"419b4f50e924c87ad04368c62f6d82d39cedba92","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-38799_2.4.1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-downloadable/Model/Link/DeleteHandler.php","change":"modified","package":"magento/module-downloadable"},{"path":"vendor/magento/module-downloadable/Model/Link/ReadHandler.php","change":"modified","package":"magento/module-downloadable"},{"path":"vendor/magento/module-downloadable/Model/Sample/DeleteHandler.php","change":"modified","package":"magento/module-downloadable"},{"path":"vendor/magento/module-downloadable/Model/Sample/ReadHandler.php","change":"modified","package":"magento/module-downloadable"}],"packages":["magento/module-downloadable"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.3.0 <2.4.3","path":"patches/commerce/MDVA-38799_2.4.1.patch","blobSha":"9a069c0e5c98c343065ae7aa5d1832c9d8d6b4fb","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MDVA-38799_2.4.1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-downloadable-staging/Model/Plugin/Link/UpdateHandlerPlugin.php","change":"added","package":"magento/module-downloadable-staging"},{"path":"vendor/magento/module-downloadable-staging/Model/Plugin/Sample/UpdateHandlerPlugin.php","change":"added","package":"magento/module-downloadable-staging"},{"path":"vendor/magento/module-downloadable-staging/etc/di.xml","change":"added","package":"magento/module-downloadable-staging"}],"packages":["magento/module-downloadable-staging"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0","2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-38799 details"}