Page MenuHomePhabricator

PageTriage: test fail ArticleMetadataTest::testValidatePageId MWException: DatabaseBase::makeList: empty input for field ptrp_page_id
Closed, ResolvedPublic

Description

  1. ArticleMetadataTest::testValidatePageId

MWException: DatabaseBase::makeList: empty input for field ptrp_page_id

/Users/amusso/projects/mediawiki/core/includes/db/Database.php:2052
/Users/amusso/projects/mediawiki/core/includes/db/Database.php:1662
/Users/amusso/projects/mediawiki/core/includes/db/Database.php:1610
/Users/amusso/projects/mediawiki/extensions/PageTriage/tests/phpunit/ArticleMetadataTest.php:94
/Users/amusso/projects/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:133
/Users/amusso/projects/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:42


Version: unspecified
Severity: normal

Details

Reference
bz67366

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:41 AM
bzimport added a project: PageTriage.
bzimport set Reference to bz67366.
bzimport added a subscriber: Unknown Object (MLST).

Reproduced with just the PageTriage extension and a sqlite backend:

$ cd tests/phpunit
$ php phpunit.php --testsuite extensions

Change 143324 had a related patch set uploaded by Reedy:
Check we still have pages after ArticleMetadata::validatePageId()

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

Change 143324 merged by jenkins-bot:
Check we still have pages after ArticleMetadata::validatePageId()

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