Last modified: 2014-06-30 13:38:25 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 T66296, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64296 - Catch exception thrown when no suitable handler available for some data value type
Catch exception thrown when no suitable handler available for some data value...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikibaseQueryEngine (Other open bugs)
unspecified
All All
: Highest major (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=5 s=2014-05-06
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 15:27 UTC by tobias.gritschacher
Modified: 2014-06-30 13:38 UTC (History)
4 users (show)

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


Attachments

Description tobias.gritschacher 2014-04-23 15:27:52 UTC
That's to prevent breaking the whole system when there is no suitable DV-Handler.
Comment 1 Daniel Kinzler 2014-04-23 22:14:49 UTC
I suggest to not have a null-handler, but instead catch the exception caused by not having a handler for some data value type. The exception should be logged using wfLogWarning (which causes tests to fail and gores into the error log in production).
Comment 2 Jeroen De Dauw 2014-05-06 16:11:37 UTC
Fix for this was merged a week ago https://github.com/wmde/WikibaseQueryEngine/pull/26

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


Navigation
Links