Page MenuHomePhabricator

Make pollForChanges check if site tables have been populated
Closed, ResolvedPublic

Description

If the user forgets to run populateSitesTable.php pollForChanges will give an error message that makes it hard to debug:

Fatal error: Call to a member function getField() on a non-object in /srv/devclient/w/extensions/Wikibase/client/includes/ClientChangeHandler.php on line 125

It would be cool to make the error message more precise or to make pollForChanges check if populateSitesTable has been run.


Version: unspecified
Severity: normal

Details

Reference
bz42681

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:45 AM
bzimport set Reference to bz42681.

Change I6324dc1f: check if the site table exists and site code is valid

Verified in Wikidata demo sprint 25

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