Michael added a comment.

  The error seems to be in the JS when trying to create a new statement with 
that property. The `setClaim` api call already contains `"type": "unknown"`, 
which is incorrect.
  
    claim       
"{\"type\":\"statement\",\"mainsnak\":{\"snaktype\":\"value\",\"property\":\"P6835\",\"datavalue\":{\"type\":\"unknown\",\"value\":\"Codes+over+$$F_{4}+vF_4$$+F+4+++v+F+4+and+some+DNA+applications\"}},\"id\":\"Q4115189$143dd941-4398-8a1c-f4ac-c82ab03adfd9\",\"rank\":\"normal\"}"
  
  That being said, a bad API call also should not cause a server error. So we 
have two problems to fix here.

TASK DETAIL
  https://phabricator.wikimedia.org/T265521

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Michael, Aklapper, thcipriani, Akuckartz, darthmon_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, Maosef, QZanden, LawExplorer, Debenben, _jensen, 
rosalieper, Scott_WUaS, Jonas, Izno, Verdy_p, Wikidata-bugs, aude, fredw, 
Physikerwelt, Pkra, Lydia_Pintscher, scfc, Jdforrester-WMF, Mbch331, Rxy, 
Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to