[2022-07-22T06:02:30.759873+00:00] main.ERROR: Argument 1 passed to Magento\InventoryConfiguration\Model\IsSourceItemManagementAllowedForProductType\Interceptor::execute() must be of the type string, null given, called in /var/www/public/vendor/magento/module-inventory-sales/Model/GetProductSalableQty.php on line 108
GraphQL (1:68)
1: mutation($source_cart_id_1:String!,$destination_cart_id_1:String!){mergeCarts(source_cart_id:$source_cart_id_1,destination_cart_id:$destination_cart_id_1){id}}
Internal server error message appears when logging in if guest had the same product with the same options as logged in customer
Expected result: No errors and carts are merged correctly
Steps:
Actual result: Internal server error appears https://vimeo.com/732356666/b605d5a47e
[2022-07-22T06:02:30.759873+00:00] main.ERROR: Argument 1 passed to Magento\InventoryConfiguration\Model\IsSourceItemManagementAllowedForProductType\Interceptor::execute() must be of the type string, null given, called in /var/www/public/vendor/magento/module-inventory-sales/Model/GetProductSalableQty.php on line 108 GraphQL (1:68) 1: mutation($source_cart_id_1:String!,$destination_cart_id_1:String!){mergeCarts(source_cart_id:$source_cart_id_1,destination_cart_id:$destination_cart_id_1){id}}