{"data":{"id":"ACSD-65913","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where OpenSearch threw an illegal_argument_exception for categories with products having the same price.","categories":["Catalog Search"],"components":["magento/module-elasticsearch"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-66/acsd-65913-opensearch-threw-an-illegal-argument-exception-for-categories-with-products-having-the-same-price","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-66/acsd-65913-opensearch-threw-an-illegal-argument-exception-for-categories-with-products-having-the-same-price.md","blobSha":"c6385cd08fd76096a20747fc2279269b3d75b749","description":"OpenSearch throws an illegal_argument_exception ([from] parameter cannot be negative) when loading categories in which all products shared the same price.","stepsToReproduce":"1. Install OpenSearch version 2.19.1 and set it as the default search engine. 1. Configure the Price product attribute to be visible in Layered Navigation: 1. Visible in Advanced Search: Yes 1. Comparable on Storefront: Yes 1. Use in Layered Navigation: Filterable (with results) 1. Go to Stores > Configuration > Catalog > Catalog > Layered Navigation. Set Price Navigation Step Calculation to Automatic (equalize product counts). 1. Create a category with six products that all have the same price: 1. SKU: product_super_0-1-1-1, Price: $150 1. SKU: product_super_0-1-1, Price: $48 1. SKU: product_super_0-1, Price: $48 1. SKU: product_super_0, Price: $48 1. SKU: product_super_0-1-1-1-1-1-1-1-1-1-1-1-1-1, Price: $48 1. SKU: product_super_0-1-1-1-1-1-1-1-1-1-1, Price: $48 1. Run the following command: bin/magento indexer:reindex 1. Open the category page. You'll see an error: [from] parameter cannot be negative, found [-1]","introducedInQpt":"1.1.66","createdFor":["2.4.7-p5"],"documentedRange":"2.4.7 - 2.4.8","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.9","path":"patches/os/ACSD-65913_2.4.7-p5.patch","blobSha":"b1dc528419d6fd93b207a35f7303f0a1ecdcd868","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-65913_2.4.7-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-elasticsearch/ElasticAdapter/SearchAdapter/Aggregation/Interval.php","change":"modified","package":"magento/module-elasticsearch"}],"packages":["magento/module-elasticsearch"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"OpenSearch\\Common\\Exceptions\\BadRequest400Exception: {\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"* parameter cannot be negative"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-65913 details"}