Last modified: 2014-11-12 09:41:52 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 T73641, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71641 - Exception from line 202 of ClaimSerializer.php: Invalid claim type specified
Exception from line 202 of ClaimSerializer.php: Invalid claim type specified
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-04 13:46 UTC by Aude
Modified: 2014-11-12 09:41 UTC (History)
6 users (show)

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


Attachments

Description Aude 2014-10-04 13:46:03 UTC
/w/api.php   Exception from line 202 of /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/lib/includes/serializers/ClaimSerializer.php: Invalid claim type specified
#0 /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/repo/includes/api/EditEntity.php(500): Wikibase\Lib\Serializers\ClaimSerializer->newFromSerialization(Array)
#1 /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/repo/includes/api/EditEntity.php(480): Wikibase\Api\EditEntity->getModifyClaimsChangeOps(Array)
#2 /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/repo/includes/api/EditEntity.php(262): Wikibase\Api\EditEntity->getClaimsChangeOps(Array)
#3 /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/repo/includes/api/EditEntity.php(201): Wikibase\Api\EditEntity->getChangeOps(Array, Object(Wikibase\DataModel\Entity\Item))
#4 /srv/mediawiki/php-1.25wmf1/extensions/Wikidata/extensions/Wikibase/repo/includes/api/ModifyEntity.php(350): Wikibase\Api\EditEntity->modifyEntity(Object(Wikibase\DataModel\Entity\Item), Array, 161811063)
#5 /srv/mediawiki/php-1.25wmf1/includes/api/ApiMain.php(932): Wikibase\Api\ModifyEntity->execute()
#6 /srv/mediawiki/php-1.25wmf1/includes/api/ApiMain.php(364): ApiMain->executeAction()
#7 /srv/mediawiki/php-1.25wmf1/includes/api/ApiMain.php(335): ApiMain->executeActionWithErrorHandling()
#8 /srv/mediawiki/php-1.25wmf1/api.php(85): ApiMain->execute()
#9 /srv/mediawiki/w/api.php(3): require('/srv/mediawiki/...')
Comment 1 Thiemo Mättig 2014-10-13 14:38:43 UTC
This is kind of expected when the serialization is broken in the database. Do you have an example URL? Example Item id?
Comment 2 Jeroen De Dauw 2014-10-13 17:09:13 UTC
One more thing in this old code - we really should do the replace :)
Comment 3 Aude 2014-11-12 09:41:52 UTC
don't think this happens anymore

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


Navigation
Links