Last modified: 2011-08-19 14:35:37 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 T32459, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30459 - #ask format=count kills page
#ask format=count kills page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-19 05:27 UTC by badon
Modified: 2011-08-19 14:35 UTC (History)
1 user (show)

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


Attachments

Description badon 2011-08-19 05:27:15 UTC
Catchable fatal error: Object of class SMWQueryResult could not be converted to string in /path/to/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php on line 319

This error is caused when using format=count in an #ask query, and takes down the article page. Hopefully this is enough to reproduce the bug. If not, I can probably do more testing. The query looks like this:

{{#ask:[[Category:Some category]][[Some property::{{PAGENAME}}]]|format=count}}
Comment 1 badon 2011-08-19 05:28:42 UTC
A similar query is being used in another place on the same page without problems. So, maybe it only occurs when there's two of them? Not sure...
Comment 2 Jeroen De Dauw 2011-08-19 14:35:37 UTC
Fixed by r94998

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


Navigation
Links