{"data":{"id":"MDVA-41061-V4","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where stock status resets to salable when a product is saved from Admin.","categories":["Inventory"],"components":["magento/module-catalog","magento/module-catalog-inventory","magento/module-configurable-import-export","magento/module-configurable-product","magento/module-inventory-catalog","magento/module-inventory-configurable-product","magento/module-inventory-configuration","magento/module-inventory-indexer","magento/module-inventory-sales"],"origin":"adobe-commerce-support","documentation":null,"files":[{"package":"magento/magento2-base","constraint":">=2.4.2 <2.4.3","path":"patches/os/ACSD-41061_2.4.2-p1_v6.patch","blobSha":"a5d0c3a8984130b4c751b2007b0b7b710c1a8608","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-41061_2.4.2-p1_v6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog/Model/ResourceModel/GetProductTypeById.php","change":"added","package":"magento/module-catalog"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php","change":"modified","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/GetStatusExpression.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/StatusExpression/DefaultExpression.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/StatusExpression/ExpressionInterface.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/etc/di.xml","change":"modified","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-configurable-import-export/Plugin/Import/Product/UpdateConfigurableProductsStockItemStatusPlugin.php","change":"added","package":"magento/module-configurable-import-export"},{"path":"vendor/magento/module-configurable-import-export/etc/di.xml","change":"modified","package":"magento/module-configurable-import-export"},{"path":"vendor/magento/module-configurable-product/Model/Inventory/ChangeParentStockStatus.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/Inventory/ParentItemProcessor.php","change":"modified","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/Plugin/UpdateStockChangedAuto.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/etc/di.xml","change":"modified","package":"magento/module-configurable-product"}],"packages":["magento/module-catalog","magento/module-catalog-inventory","magento/module-configurable-import-export","magento/module-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.3 <2.4.4","path":"patches/os/ACSD-41061_2.4.3-p1_v6.patch","blobSha":"b2199b43b1ff3eab7544282df8fba1d4ec5ef0ef","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-41061_2.4.3-p1_v6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog/Model/ResourceModel/GetProductTypeById.php","change":"added","package":"magento/module-catalog"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/DefaultStock.php","change":"modified","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/GetStatusExpression.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/StatusExpression/DefaultExpression.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/Model/ResourceModel/Indexer/Stock/StatusExpression/ExpressionInterface.php","change":"added","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-catalog-inventory/etc/di.xml","change":"modified","package":"magento/module-catalog-inventory"},{"path":"vendor/magento/module-configurable-product/Model/Inventory/ChangeParentStockStatus.php","change":"modified","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/Plugin/UpdateStockChangedAuto.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/etc/di.xml","change":"modified","package":"magento/module-configurable-product"}],"packages":["magento/module-catalog","magento/module-catalog-inventory","magento/module-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.4 <2.4.5","path":"patches/os/MDVA-44818_2.4.4.patch","blobSha":"466cf2af4538be82699aae70e37a729d22b8906d","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-44818_2.4.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog/Model/ResourceModel/GetProductTypeById.php","change":"added","package":"magento/module-catalog"},{"path":"vendor/magento/module-configurable-product/Model/Inventory/ChangeParentStockStatus.php","change":"modified","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/Model/Plugin/UpdateStockChangedAuto.php","change":"added","package":"magento/module-configurable-product"},{"path":"vendor/magento/module-configurable-product/etc/di.xml","change":"modified","package":"magento/module-configurable-product"}],"packages":["magento/module-catalog","magento/module-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/inventory-metapackage","constraint":"1.2.2","path":"patches/os/ACSD-41061_1.2.2_v6.patch","blobSha":"c919b8b0fdb997ff24184ce0753dcdf778b155b6","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-41061_1.2.2_v6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Model/BulkInventoryTransfer.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusExpressionForDefaultStock.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Model/SourceItemsSaveSynchronization/SetDataToLegacyCatalogInventory.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Api/StockRegistry/SetQtyToLegacyStock.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/UpdateSourceItemAtLegacyStockItemSavePlugin.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/etc/di.xml","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/Api/StockRegistry/SetQtyToLegacyStock.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/Observer/ParentItemProcessor/AdaptParentItemProcessorPlugin.php","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockItemForNewConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockStatusForConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/InventoryApi/UpdateConfigurableProductParentStockStatus.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/etc/di.xml","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configuration/Model/LegacyStockItem/CacheStorage.php","change":"added","package":"magento/module-inventory-configuration"},{"path":"vendor/magento/module-inventory-configuration/Plugin/InventoryConfiguration/Model/GetLegacyStockItemCache.php","change":"modified","package":"magento/module-inventory-configuration"},{"path":"vendor/magento/module-inventory-indexer/Indexer/SelectBuilder.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/SourceItem/Strategy/Sync.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/PrepareReservationsIndexData.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/ReservationsIndexTable.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/Strategy/Sync.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/BackordersCondition.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/IsStockItemSalableConditionChain.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/MinQtyStockCondition.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/MinQtyStockWithReservationsCondition.php","change":"added","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/ReservationsCondition.php","change":"added","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/etc/di.xml","change":"modified","package":"magento/module-inventory-sales"}],"packages":["magento/module-inventory-catalog","magento/module-inventory-configurable-product","magento/module-inventory-configuration","magento/module-inventory-indexer","magento/module-inventory-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.3 <1.2.4","path":"patches/os/ACSD-41061_1.2.3_v6.patch","blobSha":"21a7ba0e93fad95f2352c084b53221ca05ca95cb","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-41061_1.2.3_v6.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Model/BulkInventoryTransfer.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusExpressionForDefaultStock.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Model/SourceItemsSaveSynchronization/SetDataToLegacyCatalogInventory.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Api/StockRegistry/SetQtyToLegacyStock.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/UpdateSourceItemAtLegacyStockItemSavePlugin.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/etc/di.xml","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/Api/StockRegistry/SetQtyToLegacyStock.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/Observer/ParentItemProcessor/AdaptParentItemProcessorPlugin.php","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockItemForNewConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockStatusForConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/InventoryApi/UpdateConfigurableProductParentStockStatus.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/etc/di.xml","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configuration/Model/LegacyStockItem/CacheStorage.php","change":"added","package":"magento/module-inventory-configuration"},{"path":"vendor/magento/module-inventory-configuration/Plugin/InventoryConfiguration/Model/GetLegacyStockItemCache.php","change":"modified","package":"magento/module-inventory-configuration"},{"path":"vendor/magento/module-inventory-indexer/Indexer/SelectBuilder.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/SourceItem/Strategy/Sync.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/PrepareReservationsIndexData.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/ReservationsIndexTable.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Indexer/Stock/Strategy/Sync.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/BackordersCondition.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/IsStockItemSalableConditionChain.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/MinQtyStockCondition.php","change":"modified","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/MinQtyStockWithReservationsCondition.php","change":"added","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/Model/ResourceModel/IsStockItemSalableCondition/ReservationsCondition.php","change":"added","package":"magento/module-inventory-sales"},{"path":"vendor/magento/module-inventory-sales/etc/di.xml","change":"modified","package":"magento/module-inventory-sales"}],"packages":["magento/module-inventory-catalog","magento/module-inventory-configurable-product","magento/module-inventory-configuration","magento/module-inventory-indexer","magento/module-inventory-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/inventory-metapackage","constraint":">=1.2.4 <1.2.5","path":"patches/os/MDVA-44818_1.2.4.patch","blobSha":"c89bf5d7aed19d3fe97a93dcf77dae3fca69e909","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-44818_1.2.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockItemForNewConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/CatalogInventory/UpdateLegacyStockStatusForConfigurableProduct.php","change":"added","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-configurable-product/etc/di.xml","change":"modified","package":"magento/module-inventory-configurable-product"}],"packages":["magento/module-inventory-configurable-product"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"magento-commerce":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":["2.3.7-p4","2.3.7-p3","2.3.7-p2","2.3.7-p1","2.3.7","2.3.6-p1","2.3.6","2.3.5-p2","2.3.5-p1","2.3.5","2.3.4-p2","2.3.4-p1","2.3.4","2.3.3-p2","2.3.3","2.3.2-p2","2.3.2-p1","2.3.2","2.3.1","2.3.0"],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"magento-commerce":["2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-41061-V4 details"}