MDVA-38308: Error after adding Vimeo videos to disabled products

The MDVA-38308 quality patch for Adobe Commerce solves the issue where users get the error message: Notice: Undefined index: extension in /lib/internal/Magento/Framework/File/Uploader.php on line 806, when adding Vimeo videos to disabled products. This patch is available when the Quality Patches Tool (QPT) 1.0.26 is installed. The patch ID is MDVA-38308. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.4.

Affected products and versions

The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.4.1-p1, 2.4.2-p1

Compatible with Adobe Commerce versions:
Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.3.5 - 2.3.6-p1, 2.4.0 - 2.4.1-p1, 2.4.2 - 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

When adding Vimeo videos to disabled products, you receive the following error message: Notice: Undefined index: extension in /lib/internal/Magento/Framework/File/Uploader.php on line 806

Steps to reproduce:

  1. Create a simple product.
  2. Disable the created product.
  3. Try to add a Vimeo video to the disabled product.

Expected results:

Video is added without any error.

Actual results:

You get the following error:
Notice: Undefined index: extension in /lib/internal/Magento/Framework/File/Uploader.php on line 806

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool in our support knowledge base, refer to:

For info about other patches available in QPT tool, refer to the Patches available in QPT tool section in our support knowledge base.

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