Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5535

[Cart] Removing product from cart causes a JS exception in console

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Added at least one product in BA

      Steps to reproduce:

      1. Go to storefront.
      2. Add product to cart.
      3. Go to /cart page.
      4. Click on 'Remove product' or 'Clear cart' button.

      Actual result:

      See attached screenshot.

      Removing product from cart causes a JS exception in console.

      Uncaught TypeError: Cannot read properties of undefined (reading 'catch')
          at StorefrontMaincart.handleItemRemove (ibexa-storefront-cart-js.js:1496:107)
          at HTMLButtonElement.<anonymous> (ibexa-storefront-cart-js.js:459:22)

      Expected result:

      No exception occurs.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: