magento2: Magento 2 Wishlist GraphQl Not Working. if the product which is not even related to user's wishlist removed.
Preconditions (*)
- Magento ver 2.4.2
- Magento ver 2.4.2-p1
Steps to reproduce (*)
- keep alot of products in your Magento.
- add products to wishlist.(Must be Logged in User)
- then delete a Product with id 5, if your wishlist id is 5 which is not any way related to that wishlist or to customer.
Expected result (*)
- The Proper Response of wishlist item and its product
- The Screenshot Attached.

Actual result (*)
- Instead of the Proper Response of Wishlist item and its Product, the error was thrown called “The product that was requested doesn’t exist…”
2.The Screenshot Attached.

Note: GraphQl Query
{
wishlist {
items_count
updated_at
items {
id
qty
description
product {
id
sku
name
stock_status
}
}
}
}
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (6 by maintainers)
Hi @engcom-Echo, here is your Magento Instance: https://9aaba719660630d0ee634afd6fcae98a-2-4-develop.instances.magento-community.engineering Admin access: https://9aaba719660630d0ee634afd6fcae98a-2-4-develop.instances.magento-community.engineering/admin_580d Login: 175b859a Password: 6d721191f1d7