Page MenuHomePhabricator

Upload fails if preview cannot be generated
Closed, ResolvedPublic

Description

When I upload a mp4 file, I received below error. There are no problem to upload a jpeg file. Could help me solve this problem?

[93b9cad69e1e225a65fe86a1] /Special:Upload Error from line 1091 of /var/www/mediawiki/includes/specials/SpecialUpload.php: Call to a member function getUrl() on boolean Backtrace:

0 /var/www/mediawiki/includes/specials/SpecialUpload.php(893): UploadForm->getDescriptionSection()
1 /var/www/mediawiki/includes/specials/SpecialUpload.php(267): UploadForm->__construct(array, DerivativeContext, MediaWiki\Linker\LinkRenderer)

Event Timeline

TheDJ created this task.Jan 19 2017, 7:48 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 19 2017, 7:49 PM

Change 333079 had a related patch set uploaded (by TheDJ):
Special:Upload should not crash on failing previews

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

matmarex closed this task as Resolved.Jan 20 2017, 8:42 PM
matmarex assigned this task to TheDJ.
Restricted Application added a project: Multimedia. · View Herald TranscriptJan 20 2017, 8:42 PM

Change 333079 merged by jenkins-bot:
Special:Upload should not crash on failing previews

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

Change 343630 had a related patch set uploaded (by Paladox; owner: TheDJ):
[mediawiki/core] Special:Upload should not crash on failing previews

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

Change 343631 had a related patch set uploaded (by Paladox; owner: TheDJ):
[mediawiki/core] Special:Upload should not crash on failing previews

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

Change 343631 merged by jenkins-bot:
[mediawiki/core] Special:Upload should not crash on failing previews

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

Change 343630 merged by jenkins-bot:
[mediawiki/core] Special:Upload should not crash on failing previews

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