Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42959

Javascript error when uploading a file

XMLWordPrintable

    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_26_STABLE
    • MDL-42959-master
    • Hide

      With your JS console open, and debug_developer set:*

      • Edit your profile
      • Open the filepicker to upload a new file
      • Upload a new file
        • Confirm that no JS exception was thrown, and no new errors were shown
      Show
      With your JS console open, and debug_developer set:* Edit your profile Open the filepicker to upload a new file Upload a new file Confirm that no JS exception was thrown, and no new errors were shown

      When I upload a file I see a Javascript error in the Javascript console.

      Uncaught TypeError: Cannot call method 'removeAttribute' of null
      

      The AJAX request finishes as expected for what I see. Only master is affected.

      Discovered while working on MDL-42625, as the end of the AJAX request is not detected because of the JS error.

            dobedobedoh Andrew Lyons
            dmonllao David Monllaó
            Jason Fowler Jason Fowler
            Sam Hemelryk Sam Hemelryk
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.