Page MenuHomePhabricator

UploadWizard “Retry failed uploads” throws upload.ui.clearIndicator is not a function
Closed, ResolvedPublic

Description

As I was trying to reproduce an UploadWizard, I tried started an upload process. I grabbed the first file on my laptop, a 320px thumb of an old upload of mine.

The upload step fails spins for a bit but very quickly fails with « Unknown warning: "thumb: 320px-Fire_station_Hallstatt_-_October_2017_-_02.jpg". »
Clicking « Retry failed uploads » results in the following stacktrace:

TypeError: upload.ui.clearIndicator is not a function[Learn More] load.php:69:37
	uw.controller.Upload.prototype.retry/< https://commons.wikimedia.org/w/load.php:69:37
	forEach self-hosted:268:13
	uw.controller.Upload.prototype.retry https://commons.wikimedia.org/w/load.php:68:947
	oo.EventEmitter.prototype.emit https://commons.wikimedia.org/w/load.php:248:479
	UWUIUpload/this.retryButtonAllFailed< https://commons.wikimedia.org/w/load.php:37:1
	oo.EventEmitter.prototype.emit https://commons.wikimedia.org/w/load.php:248:479
	OO.ui.mixin.ButtonElement.prototype.onClick https://commons.wikimedia.org/w/load.php:280:610
	<anonymous> self-hosted:984:17
	dispatch https://commons.wikimedia.org/w/load.php:69:22
	add/elemData.handle https://commons.wikimedia.org/w/load.php:65:753