ACSD-61534: Design configuration can’t be set using bin/magento config:set
, and locked values can be altered via form manipulation
The ACSD-61534 patch fixes the issue where the design configuration can’t be set using the bin/magento config:set
command, and locked values can be altered through form manipulation. This patch is available when the Quality Patches Tool (QPT) 1.1.55 is installed. The patch ID is ACSD-61534. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
Adobe Commerce (all deployment methods) 2.4.7-p2
Compatible with Adobe Commerce versions:
Adobe Commerce (all deployment methods) 2.4.7 - 2.4.7-p3
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
The design configuration can’t be set using the bin/magento config:set
command, and locked values can be altered through form manipulation. With this patch, locked values set from the Command-line tool (CLI) with --lock-env
or --lock-conf
can’t be updated.
Steps to reproduce:
- Lock a config value using a cloud environment variable, like
CONFIG_WEBSITESBASEDESIGNHEAD_INCLUDES
. - Go to the Admin panel.
- Go to Content > Design > Configuration.
- Click Edit near the Global/Main website in the second row.
- Edit theme for a store view.
- Open the HTML head.
- Enable the disabled Scripts and Style Sheets field using developer tools.
- Change the value and save it.
Expected results:
A locked value can’t be saved.
Actual results:
Table core_config_data
contains an updated value for design/head/includes
.
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: A self-service tool for quality patches in the Tools guide.