https://bugzilla.wikimedia.org/show_bug.cgi?id=48965

--- Comment #1 from Aude <[email protected]> ---
I am allowed to save in the api (via wbcreateclaim) the following:

datavalue: {
value: {
time: "+00000001936-15-08T00:00:00Z",
timezone: 0,
before: 0,
after: 0,
precision: 11,
calendarmodel: "http://www.wikidata.org/wiki/Q12138";
},
type: "time"

http://www.wikidata.org/wiki/Q12138 is not a valid calendar model.  It should
be http://www.wikidata.org/entity/Q1985727.

This should be validated when the claim gets saved and return an error if the
data value is not valid.

As it does get saved currently, we then see an error in the UI on an item page
in the snak view:

"The value does not comply with the property's definition.
The value's data value type "ununserializable" does not match the property's
data type's data value type "time"."

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to