Handles all cases where the patched JSON structure cannot be deserialized into a valid label TermList (empty label, label too long, label containing invalid characters, language code)
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T344228 Functionality for REST API v1 | |||
Resolved | WMDE-leszek | T332739 🏷️🐼 Modify data of labels of an item | |||
Resolved | Jakob_WMDE | T335947 🏷️🐼 Validate the patched labels |
Event Timeline
Change 918498 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Extract label text validation
Change 918520 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Validate each label text after patching
Change 919152 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Handle empty patched label
Change 918498 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Extract label text validation
Change 918520 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Validate label text after patching
Change 919152 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Handle empty patched label