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

[Product type] JS exceptions occurs while user drag and drop attribute group with attributes

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Added attribute-group and based on it attributes e.g integer

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Product catalog / Product types.
      3. Start creating a new product type.
      4. Scroll the form down to 'Library' section.
      5. Drag and drop attribute group with attributes to Attribute section.
      6. Verify web browser console outpup.

      Actual result:
      See attached screenshot.

      JS exceptions occurs while user drag and drop attribute group with attributes

      Uncaught TypeError: Cannot read properties of null (reading 'dataset')
          at AttributesDraggable.addPlaceholder (ibexa-product-catalog-product-type-edit-js.js:261:59)
          at AttributesDraggable.onDragOver (ibexa-product-catalog-product-type-edit-js.js:252:14)
      addPlaceholder @ ibexa-product-catalog-product-type-edit-js.js:261
      onDragOver @ ibexa-product-catalog-product-type-edit-js.js:252
      ibexa-product-catalog-product-type-edit-js.js:215 
      Uncaught TypeError: Cannot read properties of null (reading 'dataset')
          at AttributesDraggable.onDrop (ibexa-product-catalog-product-type-edit-js.js:215:41)
      onDrop @ ibexa-product-catalog-product-type-edit-js.js:215
      ibexa-product-catalog-product-type-edit-js.js:307 
      Uncaught TypeError: Cannot read properties of null (reading 'classList')
          at HTMLLIElement.<anonymous> (ibexa-product-catalog-product-type-edit-js.js:307:28)
      (anonymous) @ ibexa-product-catalog-product-type-edit-js.js:307 

      Expected result:

      No exception 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: