Embedded List Webpart – Cannot read properties of null (reading ‘closest’)

Home Forums Modern DFFS Embedded List Webpart – Cannot read properties of null (reading ‘closest’)

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #38311
      AdamP
      Participant

        Hi Alexander

        We previously had issues with modern DFFS not displaying the dffs forms for a list: https://spjsblog.com/forums/topic/modern-dffs-not-loading-for-some-users-listbasetemplate/ which I thought I’d replied to to say all working again, but I can’t see a final post (apologies if I didn’t follow up after your fix !)

        Today we’ve had reports come in that the embedded list view is misbehaving again, and there is a similar but different error triggered in the console as soon as the item is clicked (standard SharePoint form is displayed):
        dffs-command-set_7a9ba9f4a29d2d88fc7f.js:246 Uncaught TypeError: Cannot read properties of null (reading ‘closest’)
        at t.getCurrentListContextOnClick (dffs-command-set_7a9ba9f4a29d2d88fc7f.js:246:2403220)
        at t.viewOrEditItem_newUI (dffs-command-set_7a9ba9f4a29d2d88fc7f.js:246:2394991)
        at dffs-command-set_7a9ba9f4a29d2d88fc7f.js:246:2412388
        at HTMLBodyElement.<anonymous> (dffs-command-set_7a9ba9f4a29d2d88fc7f.js:246:2407521)

        We were running v1.0.68.0 and have upgraded to v1.0.73.0 in case anything has been fixed in the interim, but the error in the console is the same. I’ve advised end users to access the list directly where it’s working normally. Any idea if this is fixable or would it be best to avoid embedded lists for the moment?

        Thanks

        Adam

      • #38313
        Alexander Bautz
        Keymaster

          Hi,
          Sorry for the inconvenience, I have confirmed this bug and will get it fixed as soon as possible and release a new version.

          Alexander

        • #38314
          AdamP
          Participant

            That’s great, thank you.

          • #38316
            Alexander Bautz
            Keymaster

              Hi,
              This issue is fixed and I’ll release a new version tomorrow.

              Alexander

            • #38328
              AdamP
              Participant

                Thanks Alexander, fast turnaround as always. V1.0.74.0 installed and issue resolved.

            Viewing 4 reply threads
            • You must be logged in to reply to this topic.