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

Javascript error when uploading a file

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-42959-master

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                dmonllao David Monllaó
                Peer reviewer:
                Jason Fowler
                Integrator:
                Sam Hemelryk
                Tester:
                Mark Nelson
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14