Steps to replicate the issue (include links if applicable):
What happens?:
- A qualifier is rendered as "The value is invalid and cannot be displayed." in red.
- The entity cannot be edited (no edit button on any claims)
- In the JSON serialization of the entity (https://www.wikidata.org/w/api.php?action=wbgetentities&ids=L1259271), I see the serialization of the qualifier as:
{ "snaktype": "value", "property": "P898", "hash": "e49ad5fcdc05da78bac23b8373d04a80fecf16aa", "datavalue": { "value": null, "type": "string", "error": "Can only construct StringValue from strings" }, "datatype": "string" }
- In my browser's console, I see an error:
Error: The undeserializable structure has to be a plain object. UnDeserializableValue UnDeserializableValue.js:29 createFunction util.inherit.js:37 deserialize SnakDeserializer.js:38 addSerializedSnaksToSnakList SnakListDeserializer.js:17 deserialize SnakListDeserializer.js:76 deserialize ClaimDeserializer.js:31 deserialize StatementDeserializer.js:25 deserialize StatementListDeserializer.js:28
What should have happened instead?:
None of those errors.
Software version (skip for WMF-hosted wikis like Wikipedia): Wikidata, in production
Other information (browser name/version, screenshots, etc.):