magento2: Magento 2 Wishlist GraphQl Not Working. if the product which is not even related to user's wishlist removed.

Preconditions (*)

  1. Magento ver 2.4.2
  2. Magento ver 2.4.2-p1

Steps to reproduce (*)

  1. keep alot of products in your Magento.
  2. add products to wishlist.(Must be Logged in User)
  3. 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 (*)

  1. The Proper Response of wishlist item and its product
  2. The Screenshot Attached. screenshot-127 0 0 1_3003-2021 07 16-16_29_43 (1)

Actual result (*)

  1. 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. screenshot-127 0 0 1_3003-2021 07 16-16_29_43

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)

Commits related to this issue

Most upvoted comments