Last modified: 2013-04-22 16:15:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47211, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45211 - RevisionDelete: DatabaseBase::makeList: empty input for field log_id
RevisionDelete: DatabaseBase::makeList: empty input for field log_id
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Revision deletion (Other open bugs)
1.21.x
All All
: Low minor (vote)
: ---
Assigned To: Umherirrender
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-20 22:23 UTC by Sam Reed (reedy)
Modified: 2013-04-22 16:15 UTC (History)
3 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-02-20 22:23:48 UTC
2013-02-20 22:20:38 mw1086 enwiki: [5fcb83c4] /w/index.php?title=Special%3ARevisionDelete&target=Special%3ALog&type=logging   Exception from line 1883 of /usr/local/apache/common-local/php-1.21wmf9/includes/db/Database.php: DatabaseBase::makeList: empty input for field log_id
#0 /usr/local/apache/common-local/php-1.21wmf9/includes/db/Database.php(1485): DatabaseBase->makeList(Array, 1)
#1 /usr/local/apache/common-local/php-1.21wmf9/includes/db/Database.php(1431): DatabaseBase->selectSQLText('logging', 'log_type', Array, 'SpecialRevision...', Array, Array)
#2 /usr/local/apache/common-local/php-1.21wmf9/includes/specials/SpecialRevisiondelete.php(156): DatabaseBase->select('logging', 'log_type', Array, 'SpecialRevision...', Array)
#3 /usr/local/apache/common-local/php-1.21wmf9/includes/SpecialPage.php(613): SpecialRevisionDelete->execute(NULL)
#4 /usr/local/apache/common-local/php-1.21wmf9/includes/SpecialPageFactory.php(499): SpecialPage->run(NULL)
#5 /usr/local/apache/common-local/php-1.21wmf9/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#6 /usr/local/apache/common-local/php-1.21wmf9/includes/Wiki.php(565): MediaWiki->performRequest()
#7 /usr/local/apache/common-local/php-1.21wmf9/includes/Wiki.php(458): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.21wmf9/index.php(59): MediaWiki->run()
#9 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#10 {main}
Comment 1 Sam Reed (reedy) 2013-02-20 22:25:32 UTC
$this->ids = array_unique( array_filter( $this->ids ) );


^ we don't check this contains any values before trying to use it for a query
Comment 2 Umherirrender 2013-03-16 19:11:09 UTC
Gerrit change #54141
Comment 3 Umherirrender 2013-03-16 21:56:56 UTC
(In reply to comment #2)
> Gerrit change #54141

successfully merged

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


Navigation
Links