MDVA-43451: Error when setting Pricing and Structure for shared catalog

The MDVA-43451 patch solves the issue where the user is unable to set the Pricing and Structure for a shared catalog. This patch is available when the Quality Patches Tool (QPT) 1.1.13 is installed. The patch ID is MDVA-43451. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.5.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.3-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.3 - 2.4.4
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 user is unable to set Pricing and Structure for a shared catalog. The following message is displayed: The store that was requested wasn’t found. Verify the store and try again.

Steps to reproduce:

  1. Create a custom website. The ids of the websites should be 0, 1, 2.

  2. Create one store under the above website. The ids of the stores should be 0,1,2.

  3. Create three store views for the above store. The ids of the store views should be 0,1, 2, 3, 4.

  4. Delete the store view with id 2. Now the store table should look similar to the below table.

    code language-bash
    MariaDB [m24devinvb2b]> SELECT store_id,code,website_id,group_id,name FROM store;
    +----------+----------------+------------+----------+--------------------+
    | store_id | code           | website_id | group_id | name               |
    +----------+----------------+------------+----------+--------------------+
    |        0 | admin          |          0 |        0 | Admin              |
    |        1 | default        |          1 |        1 | Default Store View |
    |        3 | web1storeview2 |          2 |        2 | web1storeview2     |
    |        4 | web1storeview3 |          2 |        2 | web1storeview3     |
    +----------+----------------+------------+----------+--------------------+
    
  5. Create a new shared catalog.

  6. When configuring Price and Structure, select the store created in Step 2.

  7. Save the shared catalog.

Expected results:

The shared catalog is saved without any issue.

Actual results:

You are unable to save the shared catalog. The following error is displayed:
The store that was requested wasn’t found. Verify the store and try again.

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, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

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