Last modified: 2014-03-20 16:43:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63913, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61913 - Q232 on test.wikidata has InvalidArgumentException
Q232 on test.wikidata has InvalidArgumentException
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
: 61915 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-25 16:14 UTC by Aude
Modified: 2014-03-20 16:43 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2014-02-25 16:14:40 UTC
https://test.wikidata.org/wiki/Q232 does not render

it appears to have been imported, so likely has mismatching property type in the entity json vs. what's in the wb_property_info table (and memcached) for some given id.

as this is such an edge case, not a blocker for deployment but should be we should find out for sure and more exactly why this occurs on Q232.

I also get an exception when using Special:Import on test.wikidata
Comment 1 Aude 2014-02-25 16:20:43 UTC
might be related to bug 61915 though not ready to mark as duplicate yet
Comment 2 Aude 2014-02-25 16:21:53 UTC
we also get a ParseException on Q232 (which does appear in logs)

 /w/api.php?action=wbparsevalue&format=json&parser=quantity&values=Q232&options=%7B%7D   Exception from line 132 of /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/vendor/data-values/number/src/ValueParsers/QuantityParser.php: Malformed quantity: Q232
#0 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/vendor/data-values/number/src/ValueParsers/QuantityParser.php(52): ValueParsers\QuantityParser->splitQuantityString('Q232')
#1 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/vendor/data-values/common/src/ValueParsers/StringValueParser.php(51): ValueParsers\QuantityParser->stringParse('Q232')
#2 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/api/ParseValue.php(85): ValueParsers\StringValueParser->parse('Q232')
#3 /usr/local/apache/common-local/php-1.23wmf15/extensions/Wikidata/extensions/Wikibase/repo/includes/api/ParseValue.php(55): Wikibase\Api\ParseValue->parseValue(Object(ValueParsers\QuantityParser), 'Q232')
#4 /usr/local/apache/common-local/php-1.23wmf15/includes/api/ApiMain.php(861): Wikibase\Api\ParseValue->execute()
#5 /usr/local/apache/common-local/php-1.23wmf15/includes/api/ApiMain.php(362): ApiMain->executeAction()
#6 /usr/local/apache/common-local/php-1.23wmf15/includes/api/ApiMain.php(333): ApiMain->executeActionWithErrorHandling()
#7 /usr/local/apache/common-local/php-1.23wmf15/api.php(76): ApiMain->execute()
Comment 3 Lydia Pintscher 2014-02-26 11:42:49 UTC
The item loads now. Given that importing items is not really supported at this point I am going to close this.
Comment 4 Aude 2014-03-20 16:43:45 UTC
*** Bug 61915 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links