Upload throws error "Uncaught TypeError: Object #<FileReader> has no method 'loadImage' "
Closed, ResolvedPublic


UploadWizard throws an error on the first step, referencing line 431 of mw.UploadWizardUploadInterface.js: Uncaught TypeError: Object #<FileReader> has no method 'loadImage'. The upload proceeds, but thumbnails are only rendered after the files are uploaded (normally they should be rendered locally).

(Google Chrome, Ubuntu)

Version: unspecified
Severity: major


bzimport set Reference to bz49550.

Related URL: https://gerrit.wikimedia.org/r/68574 (Gerrit Change Ib2aeec742b6db04be8ceb0097b8ab06d91f9e033)

Someone didn't understand how "this" works in JavaScript, but that's OK, it's fixed now. A merge would be appreciated.

Deployed to commons, let me know if there are any more issues.

Agh, I should probably put this on wmf7 too...

Gilles moved this task from Untriaged to Done on the Multimedia board.Dec 4 2014, 9:34 AM

Add Comment