Last modified: 2013-11-05 15:01:50 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 T53667, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51667 - Object of class Wikibase\TermSqlIndex could not be converted to string
Object of class Wikibase\TermSqlIndex could not be converted to string
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Low minor (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-19 09:16 UTC by Aude
Modified: 2013-11-05 15:01 UTC (History)
3 users (show)

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


Attachments

Description Aude 2013-07-19 09:16:09 UTC
This is likely related to the schema change going on at the same time to wb_terms table.

Nonetheless, the code should be more robust and not cause a fatal error.

[18-Jul-2013 22:37:23] Catchable fatal error: Object of class Wikibase\TermSqlIndex could not be converted to string at /usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php on line 1012
Server: mw1201
Method: POST
URL: http://fr.wikidata.org/w/api.php
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php(1012): DatabaseBase::reportQueryError()
#1 /usr/local/apache/common-local/php-1.22wmf10/includes/db/Database.php(2969): DatabaseBase->reportQueryError('Deadlock found ...', 1213, 'INSERT  INTO `w...', Object(Wikibase\TermSqlIndex))
#2 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/lib/includes/store/sql/TermSqlIndex.php(122): DatabaseBase->deadlockLoop(Array, Object(Wikibase\Item), Object(DatabaseMysql))
#3 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/updates/EntityModificationUpdate.php(76): Wikibase\TermSqlIndex->saveTermsOfEntity(Object(Wikibase\Item))
#4 /usr/local/apache/common-local/php-1.22wmf10/includes/DataUpdate.php(102): Wikibase\EntityModificationUpdate->doUpdate()
#5 /usr/local/apache/common-local/php-1.22wmf10/includes/WikiPage.php(2077): DataUpdate::runUpdates(Array)
#6 /usr/local/apache/common-local/php-1.22wmf10/includes/WikiPage.php(1826): WikiPage->doEditUpdates(Object(Revision), Object(User), Array)
#7 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/content/EntityContent.php(496): WikiPage->doEditContent(Object(Wikibase\ItemContent), '/* wbeditentity...', 82, 59929040, Object(User))
#8 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/EditEntity.php(708): Wikibase\EntityContent->save('/* wbeditentity...', Object(User), 82, 59929040, NULL)
#9 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/api/ApiWikibase.php(690): Wikibase\EditEntity->attemptSave('/* wbeditentity...', 18, 'b931165fb383833...')
#10 /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/api/ModifyEntity.php(212): Wikibase\Api\ApiWikibase->attemptSaveEntity(Object(Wikibase\ItemContent), '/* wbeditentity...', 18)
#11 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(840): Wikibase\Api\ModifyEntity->execute()
#12 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(380): ApiMain->executeAction()
#13 /usr/local/apache/common-local/php-1.22wmf10/includes/api/ApiMain.php(351): ApiMain->executeActionWithErrorHandling()
#14 /usr/local/apache/common-local/php-1.22wmf10/api.php(73): ApiMain->execute()
#15 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#16 {main}
Comment 1 Lydia Pintscher 2013-11-05 15:01:50 UTC
Let's be honest with ourselves... Not going to happen anyway.

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


Navigation
Links