QUALITY PATCH

ACSD-58375: Wrong YouTube API key configuration causes an error when adding a YouTube video…

Wrong YouTube API key configuration causes an error when adding a YouTube video at the store view level. Quality patch ACSD-58375 for magento/module-product-video applies to Magento Open Source and Adobe Commerce 2.4.2 to 2.4.6-p15.

Categories
Content
Components
magento/module-product-video
Origin
adobe-commerce-support
Since QPT
1.1.49

Issue

Wrong YouTube API key configuration causes an error when adding a YouTube video at the store view level.

Steps to reproduce

1. Go to Admin > Stores > Configuration > Catalog > Product Video. 1. Change the Scope to Main Website level. 1. Add the YouTube API key. 1. Go to Catalog > Products. 1. Select any product and scroll to Images and Video. Click Add Video. 1. Copy a YouTube video link and paste it into the video link field. Move out from the field.

Adobe's page lists 2.4.2 - 2.4.6-p7 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 2.4.8.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-58375. On Cloud, add ACSD-58375 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-58375/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-product-video
Packages across compatible versions (1): magento/module-product-video

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.