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

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 assigned this task to TheDJ.

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