Last modified: 2012-12-10 17:56:34 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 T44681, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42681 - Make pollForChanges check if site tables have been populated
Make pollForChanges check if site tables have been populated
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Aude
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-04 12:41 UTC by Silke Meyer (WMDE)
Modified: 2012-12-10 17:56 UTC (History)
6 users (show)

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


Attachments

Description Silke Meyer (WMDE) 2012-12-04 12:41:09 UTC
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.
Comment 2 jeblad 2012-12-05 10:48:05 UTC
Change I6324dc1f: check if the site table exists and site code is valid
Comment 3 abraham.taherivand 2012-12-05 15:45:16 UTC
Verified in Wikidata demo sprint 25

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


Navigation
Links