Page MenuHomePhabricator

UW hangs with error in IE9 on test2
Closed, ResolvedPublic

Description

Seen in IE9 at least, possibly other IEs, but not in Chrome:

Attempting to upload a file at http://test2.wikipedia.org/wiki/Special:UploadWizard in the Upload step UW hangs with the message "Getting file information and previews..."

In the Console is the error "SCRIPT5007: Unable to get value of the property 'date': object is null or undefined" and load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20121126T175337Z, line 45 character 75

Note: I have not seen this, but a user reports that sometimes the UW page does not load at all, and when that happens IE reports an error LOG: Exception thrown by ext.uploadWizard: 'UploadWizardConfig' is undefined ReferenceError: 'UploadWizardConfig' is undefined


Version: unspecified
Severity: critical

Details

Reference
bz42512

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 1:03 AM
bzimport set Reference to bz42512.

Valerie.m.juarez wrote:

UW works in Firefox.

I tried to upload in IE compatibility mode and got the same error. Also, while debugging in IE, when I tried to upload a file I got directed to this condition in line 143: "if(dateObj==undefined&&this.upload.file.date!=undefined)"

Valerie.m.juarez wrote:

Chris, this may reproduce the UW not loading in IE issue.

-Visit http://test2.wikipedia.org/wiki/Special:UploadWizard while not logged in.
-You'll be directed to the 'Not logged in' page.
-Click 'logged in' and log in on that page.
-You'll be directed to 'Successful login' page
-Click 'Return to Special:UploadWizard
-For me, I'm brought to the Upload Wizard page but the Wizard does not load, only the title and a loading animation is shown.

The error message I receive:
"LOG: Exception thrown by ext.uploadWizard: 'UploadWizardConfig' is undefined
ReferenceError: 'UploadWizardConfig' is undefined "

But I can reload the page and the UW loads.