Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22414

"Cannot read properties of undefined (reading 'initialize')" JS errors when landing on a page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • 16.6.0
    • None
    • Windows 11 Pro, Edge 127, using a local instance of XWiki 16.6.0 on PostgreSQL 16, Tomcat 9.0.91
    • Unknown

    Description

      Steps to reproduce

      1. Navigate to a page
      2. Observe the logs from JS console

      Expected results

      No errors are displayed.

      Actual results

      There are displayed two JS errors:

      Uncaught TypeError: Cannot read properties of undefined (reading 'initialize')
          at b (compatibility.js:544:25)
          at compatibility.js:549:5
          at compatibility.js:541:1
      b	@	compatibility.js:544
      (anonymous)	@	compatibility.js:549
      (anonymous)	@	compatibility.js:541

      and

      Uncaught TypeError: Cannot read properties of undefined (reading 'initialize')
          at b (compatibility.js:544:25)
          at Array.forEach (<anonymous>)
          at Array.each (prototype.js?r=1:859:12)
          at compatibility.js:547:29
          at HTMLDocument.<anonymous> (prototype.js?r=1:417:23)
          at HTMLDocument.<anonymous> (prototype.js?r=1:7282:15)
          at fireEvent_DOM (prototype.js?r=1:7141:13)
          at fire (prototype.js?r=1:7130:17)
          at k (eventsBridge.js:61:26)
          at HTMLDocument._methodized [as fire] (prototype.js?r=1:456:23)

      The full stacktrace of errors could not be copied from Chrome directly, but please see the attached screenshots of these errors expanded.

      The issue could not be reproduced on XWiki 16.5.0, 16.4.1 or 15.10.11.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: