- probably using https://doc.wikimedia.org/Wikibase/master/js/data-bridge-storybook/?path=/docs/iconmessagebox--notice-inline
- add messages for bailout reason "datatype"
- using the result of T242838: Create BailoutActions component
- wire into the ErrorWrapper
- browser test
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T228066 Step 1: Error States of Data-Bridge [Tracking] (impact: medium) | |||
Resolved | Charlie_WMDE | T235753 Step 1: Bail-out path for unsupported datatypes (impact: high) | |||
Resolved | • Tonina_Zhelyazkova_WMDE | T242843 Display UNSUPPORTED_ENTITY_DATA error in ErrorWrapper | |||
Resolved | Lucas_Werkmeister_WMDE | T243773 Step 1: restrict editing to string data type - not just value type |
Event Timeline
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
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
Change 569543 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: add more details to unsupported datatype error
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
Change 569020 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Create UnsupportedDatatype component
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
Change 569566 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: wire up UnsupportedDatatypeError in ErrorWrapper
Change 569587 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: add browser tests for data type bail-out