[go: up one dir, main page]

Page MenuHomePhabricator

LogicException UnusableEntitySource on fresh install of Wikibase from PropertyInfoTable.php(74): Wikibase\DataAccess\UnusableEntitySource->getDatabaseName()
Closed, ResolvedPublic

Description

Appears to occur when running install.php for a new wikibase on master...

LogicException from line 18 of /var/www/mediawiki/extensions/Wikibase/data-access/src/UnusableEntitySource.php: Wikibase\DataAccess\UnusableEntitySource should never be used
#0 /var/www/mediawiki/extensions/Wikibase/lib/includes/Store/Sql/PropertyInfoTable.php(74): Wikibase\DataAccess\UnusableEntitySource->getDatabaseName()
#1 /var/www/mediawiki/extensions/Wikibase/repo/includes/Store/Sql/DatabaseSchemaUpdater.php(221): Wikibase\Lib\Store\Sql\PropertyInfoTable->__construct(Object(Wikibase\DataModel\Services\EntityId\EntityIdComposer), Object(Wikibase\DataAccess\UnusableEntitySource), Object(Wikibase\DataAccess\DataAccessSettings))
#2 /var/www/mediawiki/includes/installer/DatabaseUpdater.php(490): Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::rebuildPropertyInfo(Object(MysqlUpdater))
#3 /var/www/mediawiki/includes/installer/DatabaseUpdater.php(458): DatabaseUpdater->runUpdates(Array, true)
#4 /var/www/mediawiki/maintenance/update.php(197): DatabaseUpdater->doUpdates(Array)
#5 /var/www/mediawiki/maintenance/doMaintenance.php(99): UpdateMediaWiki->execute()
#6 /var/www/mediawiki/maintenance/update.php(270): require_once('/var/www/mediaw...')
#7 {main}

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
OpenFeatureNone
DuplicateNone
ResolvedNone
ResolvedNone
ResolvedNone
Resolved Ramsey-WMF
ResolvedCparle
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedNone
InvalidNone
ResolvedWMDE-leszek
ResolvedAddshore
ResolvedAddshore

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 567974 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikibase@master] Fix DatabaseSchemaUpdater::rebuildPropertyInfo for entitySources

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

Change 567974 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Fix DatabaseSchemaUpdater::rebuildPropertyInfo for entitySources

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