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

Effects.js script error when landing on some pages on Tomcat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 13.10.3
    • None
    • None
    • Windows 11 Pro 64 bit, Chrome 100, using a local instance of XWiki 13.10.4 on PostgreSQL 14, Tomcat 9.0.60
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Login
      2. Go to Wiki Index page
      3. Observe the browser's console

      EXPECTED RESULTS

      On Tomcat, rather often, there are some errors displayed:

      GET http://localhost:1115/xwiki/bin/view/WikiManager/scriptaculous/effects.js net::ERR_ABORTED 404
      req.load @ require.min.js?r=1:5
      load @ require.min.js?r=1:5
      load @ require.min.js?r=1:5
      fetch @ require.min.js?r=1:5
      check @ require.min.js?r=1:5
      enable @ require.min.js?r=1:5
      enable @ require.min.js?r=1:5
      (anonymous) @ require.min.js?r=1:5
      (anonymous) @ require.min.js?r=1:5
      each @ require.min.js?r=1:5
      enable @ require.min.js?r=1:5
      init @ require.min.js?r=1:5
      (anonymous) @ require.min.js?r=1:5
      setTimeout (async)
      req.nextTick @ require.min.js?r=1:5
      s @ require.min.js?r=1:5
      requirejs @ require.min.js?r=1:5
      (anonymous) @ Applications?language=en&docVersion=1.1:2
      require.min.js?r=1:5 

      and

      Uncaught Error: Script error for "scriptaculous/effects"
      https://requirejs.org/docs/errors.html#scripterror
          at makeError (require.min.js?r=1:5:1795)
          at HTMLScriptElement.onScriptError (require.min.js?r=1:5:17084)

      Apparently I didn't notice any side effect in behavior as a result.

      I've managed to reproduce the issue only on Tomcat.

      It reproduces also on XWiki 13.10.3 but it seems I couldn't reproduce it on XWiki 14.2.1.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: