Page MenuHomePhabricator

Display UNSUPPORTED_ENTITY_DATA error in ErrorWrapper
Closed, ResolvedPublic

Description

Event Timeline

Lucas_Werkmeister_WMDE changed the task status from Open to Stalled.Jan 27 2020, 2:34 PM

add messages for bailout reason "datatype"

I don’t think we have that bailout reason at the moment. We show an error when the data value type isn’t string (e. g. wikibase-entityid, quantity), but we never check the data type (e. g. URLs, Commons media values, and others are currently supported).

@Lydia_Pintscher should we switch this task to bail out on invalid data value type, or first add the currently missing check for the data type?

Change 569020 had a related patch set uploaded (by Tonina Zhelyazkova; owner: Tonina Zhelyazkova):
[mediawiki/extensions/Wikibase@master] bridge: Create UnsupportedDatatype component

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

Change 569543 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] bridge: add more details to unsupported datatype error

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

Change 569543 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: add more details to unsupported datatype error

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

Change 569566 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] bridge: wire up UnsupportedDatatypeError in ErrorWrapper

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

Change 569020 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Create UnsupportedDatatype component

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

Change 569587 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] bridge: add browser tests for data type bail-out

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

Change 569566 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: wire up UnsupportedDatatypeError in ErrorWrapper

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

Change 569587 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: add browser tests for data type bail-out

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