Last modified: 2012-10-05 21:26:59 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 T42402, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40402 - SQLStore3 not yet working?
SQLStore3 not yet working?
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: High critical (vote)
: ---
Assigned To: Nischay Nahata
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-20 17:15 UTC by Yaron Koren
Modified: 2012-10-05 21:26 UTC (History)
5 users (show)

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


Attachments

Description Yaron Koren 2012-09-20 17:15:41 UTC
I tried to test out SQLStore3 by adding the following to LocalSettings.php:

$smwgDefaultStore = "SMWSQLStore3";

However, when I go to a property page, I see the following error message:

Catchable fatal error: Argument 2 passed to SMWSql3StubSemanticData::__construct() must be an instance of SMWSQLStore, instance of SMWSQLStore3 given, called in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Readers.php on line 51 and defined in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_Sql3StubSemanticData.php on line 55

And when I go to Special:SMWAdmin and press the button to create the new database tables, I get the following error:

Catchable fatal error:  Argument 1 passed to SMWDataItemHandler::__construct() must be an instance of SMWSQLStore, instance of SMWSQLStore3 given, called in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php on line 191 and defined in /home/ngrandy/public_html/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_DataItemHandler.php on line 25
Comment 1 Jeroen De Dauw 2012-10-01 12:26:02 UTC
Should be fixed by https://gerrit.wikimedia.org/r/#/c/25873/

Can you confirm?
Comment 2 Jeroen De Dauw 2012-10-01 12:27:09 UTC
Or rather, this should fix the issue you encountered. SQLStore3 is still not quite ready for production usage. For one, containers don't work yet.
Comment 3 Nischay Nahata 2012-10-01 13:02:23 UTC
This was a minor issue already identified and fixed in https://gerrit.wikimedia.org/r/#/c/19378/ but still in review..
Comment 4 Yaron Koren 2012-10-05 21:26:59 UTC
Hey, it looks like it's working now! I don't know what was changed, but the error messages are gone with the latest Git code. Setting to "fixed".

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


Navigation
Links