ACSD-69333: SKU changes were allowed for products with an active Scheduled Update
The ACSD-69333 patch fixes the issue where SKU changes were allowed for products with an active Scheduled Update. After the fix, SKU changes are prohibited during active scheduled updates. Product saving fails with an error, and the product SKU field is disabled for editing in the Admin panel. This prevents MSI Inventory inconsistencies caused by SKU changes during staging rollbacks. This patch is available when the Quality Patches Tool (QPT) 1.1.76 is installed. The patch ID is ACSD-69333. 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-p6
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.7 - 2.4.8-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
SKU changes were allowed for products with an active Scheduled Update. After the fix, SKU changes are prohibited during active scheduled updates. Product saving fails with an error, and the product SKU field is disabled for editing in the Admin panel. This prevents MSI Inventory inconsistencies caused by SKU changes during staging rollbacks.
Prerequisites:
Inventory modules are installed and enabled.
Steps to reproduce:
- Log in to the Admin panel.
- Create a new source, and a new stock.
- Create a simple product. (For example: SKU = SP1)
- Create a staging update. (For example: change the name.)
- While the staging update is active, change the product SKU = SP11.
- Verify the
inventory_source_itemtable. Another record is created with the new SKU = SP11. - Place an order that includes all available quantities to make the product Out Of Stock.
- Create the invoice and shipment, and verify the
inventory_source_itemtable. - Check that the SKU changes back to SP1 and the stock availability is In Stock.
- Go to the Storefront and verify the product stock status.
Expected results:
The product stock status doesn’t change.
Actual results:
The stock quantity is updated, and the product is moved to In Stock.
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