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

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

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:

  1. Lock a config value using a cloud environment variable, like CONFIG_WEBSITESBASEDESIGNHEAD_INCLUDES.
  2. Go to the Admin panel.
  3. Go to Content > Design > Configuration.
  4. Click Edit near the Global/Main website in the second row.
  5. Edit theme for a store view.
  6. Open the HTML head.
  7. Enable the disabled Scripts and Style Sheets field using developer tools.
  8. 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3