Last modified: 2011-09-29 07:45:53 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 T33149, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31149 - Fatal error on Special:Browse
Fatal error on Special:Browse
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticDrilldown (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-25 09:25 UTC by Markus Krötzsch
Modified: 2011-09-29 07:45 UTC (History)
1 user (show)

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


Attachments

Description Markus Krötzsch 2011-09-25 09:25:32 UTC
SD of revision 98061 produced the following error on http://semantic-mediawiki.org/wiki/Special:BrowseData (not any more since it is temporarily disabled now):

Catchable fatal error: Argument 2 passed to SMWSQLStore2::getPropertyValues() must be an instance of SMWDIProperty, instance of SMWPropertyValue given, called in /domains/semantic-mediawiki.org/www/w/extensions/SemanticDrilldown/includes/SD_Utils.inc on line 130 and defined in /domains/semantic-mediawiki.org/www/w/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php on line 191

This is a twofold error:
(1) an SMW function is called with the wrong type;
(2) an SD function is invoked on a special page that has nothing to do with SD at all.

Unless (2) is just due to jobs, there is a problem here in that SD retrieves data from the database without any good cause. This should be avoided then.
Comment 1 Yaron Koren 2011-09-25 12:03:43 UTC
Hi Markus,

It sounds like you're just using an old version of Semantic Drilldown - the file you're referring to, SD_Utils.inc, was actually renamed SD_Utils.php over a year ago. Maybe you're accidentally using an SVN tag or branch?
Comment 2 Markus Krötzsch 2011-09-25 18:57:55 UTC
Indeed, it was a tag (my connection from the bus was too shaky to check this)! Updating it fixed the problem. I also confused Special:Browse with Special:BrowseData in the report, so the issue (2) is also invalid.

Yet, I don't think that SD works now (even though the error is gone). See, for example, http://semantic-mediawiki.org/wiki/Special:BrowseData/Semantic_MediaWiki. But this would be another bug, not this one.
Comment 3 Yaron Koren 2011-09-29 07:45:53 UTC
By the way, for the current issue - I asked Jeroen about it (since he fixed up SD's SMW compatibility), and he said that it's due to semantic-mediawiki.org using version 1.6.2 alpha of SMW - SD supports earlier and later versions of SMW, but not that one. So upgrading or downgrading would (hopefully) fix the problem.

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


Navigation
Links