ACP2E-4709: CMS pages do not save in Page Builder when the page hierarchy includes double quotes
The ACP2E-4709 patch fixes the issue where CMS pages fail to save in Page Builder when the page hierarchy includes double quotes. This patch is available when the Quality Patches Tool (QPT) 1.1.81 is installed. The patch ID is ACP2E-4709. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p9
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.7 - 2.4.8-p5
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
CMS pages fail to save in Page Builder when the page hierarchy includes double quotes.
Prerequisites:
Page Builder is enabled.
Steps to reproduce:
- In the Admin sidebar, go to Stores > Settings > Configuration. In the left panel under General, choose Content Management.
- Expand CMS Page Hierarchy, set Enable Hierarchy Functionality to Yes, and click Save Config.
- In the Admin sidebar, go to Content > Elements > Pages and click Add New Page.
- Enter a page title that includes double quotes, place the page under the website root on the Hierarchy tab, and click Save.
- Use Page Builder to add content to the page, and click Save.
Expected results:
The new CMS page saves successfully without errors.
Actual results:
- The new CMS page does not save.
- The browser console displays the following error:
Uncaught SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 79 of the JSON data.
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