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

[Fieldtype matrix] Selecting all rows in the table causes a JS exception

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Log in to back office.
      2. Go to Content / Content types.
      3. Start creating a new CT.
      4. Add matrix fieldtype to field definition.
      5. Expand added fieldtype.
      6. Add three new rows in columns section.
      7. Select third row and delete it.
      8. Select 'All' rows.
      9. Verify web browser console output.

      Actual result:

      See attached screenshot and watch vid: https://recordit.co/u6oqDXgrgv

      Selecting all rows in the table causes a JS exception.

      Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
          at findCheckedColumns (ibexa-admin-ui-content-type-edit-js.js:823:23)
          at updateDisabledState (ibexa-admin-ui-content-type-edit-js.js:826:21)
          at HTMLInputElement.checkColumn (ibexa-admin-ui-content-type-edit-js.js:873:5)
          at ibexa-admin-ui-layout-js.js:63376:21
          at NodeList.forEach (<anonymous>)
          at setSubCheckboxesStates (ibexa-admin-ui-layout-js.js:63373:19) 

      Expected result:

      No JS exception.

      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: