{"data":{"id":"ACSD-62428","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where \"is_out_of_stock\" is set to an incorrect value in the catalog search index when the SKU is not set as a searchable attribute.","categories":["Inventory","Catalog Search"],"components":["magento/module-inventory-catalog","magento/module-inventory-configurable-product","magento/module-inventory-elasticsearch","magento/module-inventory-indexer","magento/module-inventory-sales-api"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-56/acsd-62428-fixes-stock-status-errors-in-catalog-search-index","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-56/acsd-62428-fixes-stock-status-errors-in-catalog-search-index.md","blobSha":"025a6782d6f5d5567fdac2024fdad7f029360a50","description":"The is_out_of_stock value in the catalog search index is set to an incorrect value when the SKU is not configured as a searchable attribute, leading to inaccurate stock representation.","stepsToReproduce":"1. Create a custom Source and custom Stock. 1. Create three simple products and assign their inventory to the custom Source. Assign these products to a category. 1. Set the Inventory (MSI) Indexer to Update on Save for easier replication. 1. Set the Source Item Status to In Stock and assign a Quantity. 1. Save the product. 1. Navigate to Stores > Attributes > Product, and open the SKU attribute. 1. Set Use In to No. 1. Change the product quantity (make sure it is not set to 0). 1. Save the product.","introducedInQpt":"1.1.56","createdFor":["2.4.6-p5"],"documentedRange":"2.4.6 - 2.4.6-p8","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/inventory-metapackage","constraint":">=1.2.6 <1.2.7","path":"patches/os/ACSD-62428_1.2.6-p5.patch","blobSha":"e4ba6f693dbd4747ed418c86b53ff3aa1a4efbdb","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-62428_1.2.6-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-inventory-catalog/Plugin/Catalog/Model/ResourceModel/Product/CollectionPlugin.php","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Model/ResourceModel/GetBulkLegacyStockStatusDataFromStockRegistry.php","change":"added","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/etc/frontend/di.xml","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-catalog/etc/graphql/di.xml","change":"modified","package":"magento/module-inventory-catalog"},{"path":"vendor/magento/module-inventory-configurable-product/Plugin/Model/Product/Type/Configurable/IsSalableOptionPlugin.php","change":"modified","package":"magento/module-inventory-configurable-product"},{"path":"vendor/magento/module-inventory-elasticsearch/Plugin/Model/Adapter/BatchDataMapper/ProductDataMapperPlugin.php","change":"modified","package":"magento/module-inventory-elasticsearch"},{"path":"vendor/magento/module-inventory-indexer/Model/AreMultipleProductsSalable.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Model/ResourceModel/GetStockItemData.php","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Model/ResourceModel/GetStockItemsData.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Model/ResourceModel/GetStockItemsDataCache.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Model/ResourceModel/StockItemDataHandler.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/Plugin/InventorySales/AreProductsSalable.php","change":"added","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/etc/di.xml","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/etc/frontend/di.xml","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-indexer/etc/graphql/di.xml","change":"modified","package":"magento/module-inventory-indexer"},{"path":"vendor/magento/module-inventory-sales-api/Model/GetStockItemsDataInterface.php","change":"added","package":"magento/module-inventory-sales-api"}],"packages":["magento/module-inventory-catalog","magento/module-inventory-configurable-product","magento/module-inventory-elasticsearch","magento/module-inventory-indexer","magento/module-inventory-sales-api"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"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.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"magento-commerce":["2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-62428 details"}