MDVA-38468: Receive an error message when saving CMS page

The MDVA-38468 Adobe Commerce patch fixes the issue where users get the error message: Item with the same ID “PAGE_ID” already exists, when saving a CMS page. This patch is available when the Quality Patches Tool (QPT) 1.0.26 is installed. The patch ID is MDVA-38468. Please note that the issue was fixed in Adobe Commerce 2.3.6.

Affected products and versions

The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.3.2-p2

Compatible with Adobe Commerce versions:
Adobe Commerce on-premises and Adobe Commerce on cloud infrastructure 2.3.2-2.3.5-p2

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 trying to save a CMS page, you receive the following error message: Item with the same ID “PAGE_ID” already exists.

Steps to reproduce:

  1. Create a new Website + Store + Storeview.

  2. Create one more Website + Store + Storeview.

  3. Go to Content > Hierarchy > Add any existing CMS page to hierarchy tree.

  4. Go to Content > Pages > Add New Page:

    • Add any title.
    • In Page in Websites section assign to both created Storeviews.
    • In Hierarchy section assign to any category.
    • Save and Continue Edit.

Expected results:

The page is saved without any error.

Actual results:

The page is saved, but you get the following error message: Item (Magento\VersionsCms\Model\Hierarchy\Node) with the same ID “PAGE_ID” already exists.

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:

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

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