Last modified: 2013-02-23 18:23:35 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 T46305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44305 - 45 SMW tests failing due to table 'sandwiki.unittest_smw_prop_stats' doesn't exist
45 SMW tests failing due to table 'sandwiki.unittest_smw_prop_stats' doesn't ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-24 10:50 UTC by Niklas Laxström
Modified: 2013-02-23 18:23 UTC (History)
4 users (show)

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


Attachments

Description Niklas Laxström 2013-01-24 10:50:02 UTC
Example:

45) SMW\Test\SQLStore\PropertyStatisticsTableTest::testAddToUsageCounts
DBQueryError: A database error has occurred.  Did you forget to run maintenance/update.php after upgrading?  See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: DELETE FROM `unittest_smw_prop_stats`
Function: SMW\SQLStore\PropertyStatisticsTable::deleteAll
Error: 1146 Table 'sandwiki.unittest_smw_prop_stats' doesn't exist (localhost)


/www/dev.translatewiki.net/w/includes/db/Database.php:1016
/www/dev.translatewiki.net/w/includes/db/Database.php:982
/www/dev.translatewiki.net/w/includes/db/Database.php:2602
/www/dev.translatewiki.net/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/PropertyStatisticsTable.php:231
/www/dev.translatewiki.net/w/extensions/SemanticMediaWiki/tests/phpunit/includes/storage/sqlstore/PropertyStatisticsTableTest.php:108
/www/dev.translatewiki.net/w/tests/phpunit/MediaWikiTestCase.php:125
/www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:61
/www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:47
Comment 1 Jeroen De Dauw 2013-01-29 15:22:32 UTC
Did you forget to run update.php after last upgrade?

Cannot reproduce.
Comment 2 Niklas Laxström 2013-01-29 16:25:18 UTC
Isn't unittest_smw_prop_stats part of the schema v3? I'm not using that yet.
Comment 3 Jeroen De Dauw 2013-01-30 17:30:16 UTC
It is. 

https://gerrit.wikimedia.org/r/#/c/46786/

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


Navigation
Links