Error
MediaWiki version: 1.36.0-wmf.11
No formatter defined for value type unknown.
Impact
27 messages for this type in the past 4 hours for wmf.11
MediaWiki version: 1.36.0-wmf.11
No formatter defined for value type unknown.
27 messages for this type in the past 4 hours for wmf.11
#0 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/lib/includes/Formatters/DispatchingValueFormatter.php(73): Wikibase\Lib\Formatters\DispatchingValueFormatter->getFormatter(string, NULL) #1 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/lib/includes/Formatters/DispatchingValueFormatter.php(94): Wikibase\Lib\Formatters\DispatchingValueFormatter->formatValue(DataValues\UnknownValue) #2 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/lib/includes/Formatters/ErrorHandlingSnakFormatter.php(92): Wikibase\Lib\Formatters\DispatchingValueFormatter->format(DataValues\UnknownValue) #3 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/repo/includes/Api/FormatSnakValue.php(139): Wikibase\Lib\Formatters\ErrorHandlingSnakFormatter->formatSnak(Wikibase\DataModel\Snak\PropertyValueSnak) #4 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/repo/includes/Api/FormatSnakValue.php(109): Wikibase\Repo\Api\FormatSnakValue->formatValue(array, DataValues\UnknownValue, NULL) #5 /srv/mediawiki/php-1.36.0-wmf.11/includes/api/ApiMain.php(1565): Wikibase\Repo\Api\FormatSnakValue->execute() #6 /srv/mediawiki/php-1.36.0-wmf.11/includes/api/ApiMain.php(545): ApiMain->executeAction() #7 /srv/mediawiki/php-1.36.0-wmf.11/includes/api/ApiMain.php(516): ApiMain->executeActionWithErrorHandling() #8 /srv/mediawiki/php-1.36.0-wmf.11/api.php(90): ApiMain->execute() #9 /srv/mediawiki/php-1.36.0-wmf.11/api.php(45): wfApiMain() #10 /srv/mediawiki/w/api.php(3): require(string) #11 {main}
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | PRODUCTION ERROR | None | T265521 No formatter defined for value type unknown. | ||
Resolved | Rosalie_WMDE | T266493 Wikibase Exception for wbformatvalue API call with type=unknown | |||
Resolved | ItamarWMDE | T266496 Not possible to add new statements with any Math properties | |||
Resolved | ItamarWMDE | T266671 Revert commit 7f430f142d from `Malformed input error on text which is not malformed` | |||
Resolved | ItamarWMDE | T266673 Fix Math extension to not require JS parser |
This keeps happening in -wmf.13 and -wmf.14: https://logstash.wikimedia.org/goto/f9866a8f6737cbfd5eb32fef328adfd9
It occurs when trying to add a statement for title in LaTeX.
Adding the Math project as it seems that it is properties its datatype that experiences a performance degradation. The cause is still unclear, might very well be in Wikibase.
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 should not cause a server error. So we have two problems to fix here.
All of the subtickets have been resolved, no occurrence of this has been recorded in the past three months, safe to assume it's resolved by the subticket.