-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catalog Search index process error during indexation process #38869
Comments
Hi @LukaszZabielskiMonogo. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4.7 instance |
Hi @SerhiiMandrykin. Thank you for your request. I'm working on Magento instance for you. |
Hi @SerhiiMandrykin, here is your Magento Instance: https://87b72d2c6d2dac86e5b16fe43ac771ea.instances-prod.magento-community.engineering |
@SerhiiMandrykin i can't reproduce on Magento 2.4.7 instance. I try to reproduce with option "Update by schedule", everthing is all right. Can you try reproduce via console command: Maybe it's the custom module on my local 2.4.6-p5 instance, or the bug in 2.4.7 has been fixed. |
Thanks for checking, the issue is not reproducible on Magento 2.4.7. I closed the issue. |
Preconditions and environment
Steps to reproduce
Expected result
Catalog Search index has been rebuilt successfully
Actual result
Catalog Search index process error during indexation process:
Magento\InventorySales\Model\IsProductSalableCondition\IsProductSalableConditionChain::execute(): Argument #1 ($sku) must be of type string, int given, called in /code/vendor/magento/module-inventory-sales/Model/AreProductsSalable.php on line 48
Additional information
Patch to resolve problem.
$isSalable = $this->isProductSalable->execute($sku, $stockId);
$isSalable = $this->isProductSalable->execute((string)$sku, $stockId);
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: