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

[Attributes] JS exception occurs when form is loaded for attributes Measurement range and single

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Added Attribute Group

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Product catalog / Attributes.
      3. Start creating a new Attribute.
      4. Select Attribute type, Measurement (range) or Measurement (single).
      5. Click on 'Add' button.
      6. Verify web browser console output.

      Actual result:

      See attached screenshots:

      JS exception occurs when form is loaded for attributes Measurement range and single

      Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
          at addEventsListeners (ibexa-product-catalog-attribute-definition-edit-js.js:74:21)
          at ibexa-product-catalog-attribute-definition-edit-js.js:90:5
          at NodeList.forEach (<anonymous>)
          at ibexa-product-catalog-attribute-definition-edit-js.js:89:51
          at ./vendor/ibexa/measurement/src/bundle/Resources/public/js/admin.settings.measurement.js (ibexa-product-catalog-attribute-definition-edit-js.js:102:3)
          at __webpack_require__ (runtime.js:23:42)
          at __webpack_exec__ (ibexa-product-catalog-attribute-definition-edit-js.js:197:48)
          at ibexa-product-catalog-attribute-definition-edit-js.js:198:148
          at webpackJsonpCallback (runtime.js:169:39) 

      Expected result:

      No exceptions occurs.

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: