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

[Product variant] A java script exception occurred while user is redirected to add new variant form

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Added a new product based on product type with required product variants (used for product variant option)

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Product catalog / Products / Product.
      3. Switch to Variants tab.
      4. Click on 'Add' button.
      5. Verify web browser console output right after user is redirected to add a new attribute form.

      Actual result:

      See attached screenshots.

      A java script exception occurred while user is redirected to add new variant form.

      Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
          at ibexa-product-catalog-edit-js.js:24:35
          at ./vendor/ibexa/product-catalog/src/bundle/Resources/public/js/edit.form.validator.js (ibexa-product-catalog-edit-js.js:82:3)
          at __webpack_require__ (runtime.js:23:42)
          at __webpack_exec__ (ibexa-product-catalog-edit-js.js:88:48)
          at ibexa-product-catalog-edit-js.js:89:37
          at webpackJsonpCallback (runtime.js:169:39)
          at ibexa-product-catalog-edit-js.js:1:53

      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: