Last modified: 2012-10-30 05:30:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 39195 - UploadBase: Fatal error: Call to a member function getName() on a non-object
UploadBase: Fatal error: Call to a member function getName() on a non-object
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.20.x
All All
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-09 13:41 UTC by Sam Reed (reedy)
Modified: 2012-10-30 05:30 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-08-09 13:41:38 UTC
PHP Fatal error:  Call to a member function getName() on a non-object in /usr/local/apache/common-local/php-1.20wmf9/includes/upload/UploadBase.php on line 553
Comment 1 Sam Reed (reedy) 2012-08-09 15:10:24 UTC
		$localFile = $this->getLocalFile();
		$filename = $localFile->getName();

getLocalFile() can (and is, repeatedly on WMF wikis running wmf9) and does return null
Comment 2 Sam Reed (reedy) 2012-10-09 21:47:17 UTC
PHP Fatal error:  Call to a member function getName() on a non-object in /usr/local/apache/common-local/php-1.21wmf1/includes/upload/UploadBase.php on line 558


At this moment there are 187 in the last 1000 lines of the apache logs
Comment 3 Aaron Schulz 2012-10-10 22:31:57 UTC
Looks like something is not checking validateName()...
Comment 4 Aaron Schulz 2012-10-10 23:15:46 UTC
https://gerrit.wikimedia.org/r/#/c/27483/
Comment 5 Sumana Harihareswara 2012-10-12 14:57:06 UTC
Patchset merged; closing as fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links