Page MenuHomePhabricator

'finishStash(...) is undefined' when uploading with upload dialog
Closed, ResolvedPublic

Description

Reported on #wikimedia-tech on 2016-04-21:

<abolsutely3> I was trying to upload a replacement image in English Wikipedia yesterday, but it gets stuck on uploading when I hit Save. I was told yesterday there's an error in my JS console?
<abolsutely3> 09:16:06.172 TypeError: finishStash(...) is undefined UP.finishStashUpload/<() load.php:80 .Deferred/promise.then/</</<() load.php:47 jQuery.Callbacks/fire() load.php:45 jQuery.Callbacks/self.add() load.php:45 .Deferred/promise.then/</<() load.php:47 .each() load.php:5 .Deferred/promise.then/<() load.php:47 .Deferred() load.php:47 .Deferred/promise.then() load.php:46 UP.finishStashUpload() load.php:80 mw.Upload.BookletLa

Image attempted: https://www.dropbox.com/s/ycb3k5odvi3tjh2/gb-tm-full-1.jpg?dl=0

note: the problem occurred during the codfw datacenter test

Event Timeline

Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript
matmarex triaged this task as Unbreak Now! priority.Apr 21 2016, 3:37 PM

Change 284710 had a related patch set uploaded (by Bartosz Dziewoński):
mediawiki.api.upload: Unbreak finishing stash uploads

https://gerrit.wikimedia.org/r/284710

Change 284710 merged by jenkins-bot:
mediawiki.api.upload: Unbreak finishing stash uploads

https://gerrit.wikimedia.org/r/284710

The uploads go through, but the upload dialog hangs and doesn't show the successful upload :/ This has been broken for the whole week, since 1.27.0-wmf.21 deployment.

There's no SWAT today due to datacenter switchover, but I asked @demon for his special deployment approval and got it. I asked @MarkTraceur to deploy it.

Change 284715 had a related patch set uploaded (by MarkTraceur):
mediawiki.api.upload: Unbreak finishing stash uploads

https://gerrit.wikimedia.org/r/284715

Change 284715 merged by jenkins-bot:
mediawiki.api.upload: Unbreak finishing stash uploads

https://gerrit.wikimedia.org/r/284715

Fixed and deployed.