Last modified: 2012-10-17 17:02:36 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 T40489, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38489 - Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException"
Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentExcep...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-19 10:03 UTC by Niklas Laxström
Modified: 2012-10-17 17:02 UTC (History)
3 users (show)

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


Attachments

Description Niklas Laxström 2012-07-19 10:03:11 UTC
{{#ask: [[Summary:+]] [[Status::Open]]
| ?-
| ?Developer 
| ?Thread
}}


The culprit is the line with ?-


Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException"
exception 'InvalidArgumentException' with message 'Data provided for print request does not fit the type of printout.' in /www/w/extensions/SemanticMediaWiki/includes/storage/SMW_PrintRequest.php:52
Stack trace:
#0 /www/w/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(306): SMWPrintRequest->__construct(1, '', Object(SMWPropertyValue), '')
#1 /www/w/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(346): SMWQueryProcessor::processFunctionParams(Array, '[[Summary:+]] [...', Array, Array, false)
#2 /www/w/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(34): SMWQueryProcessor::getResultFromFunctionParams(Array, 2)
#3 [internal function]: SMWAsk::render(Object(Parser), '[[Summary:+]] [...', '?-', '?Developer', '?Thread')
#4 /www/w/includes/parser/Parser.php(3238): call_user_func_array(Array, Array)
#5 /www/w/includes/parser/Preprocessor_DOM.php(1073): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#6 /www/w/includes/parser/Parser.php(3027): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#7 /www/w/includes/parser/Parser.php(1128): Parser->replaceVariables('{{#ask: [[Summa...')
#8 /www/w/includes/parser/Parser.php(368): Parser->internalParse('{{#ask: [[Summa...')
#9 /www/w/includes/EditPage.php(2664): Parser->parse('{{#ask: [[Summa...', Object(Title), Object(ParserOptions))
#10 /www/w/includes/EditPage.php(1760): EditPage->getPreviewText()
#11 /www/w/includes/EditPage.php(401): EditPage->showEditForm()
#12 /www/w/includes/actions/EditAction.php(51): EditPage->edit()
#13 /www/w/includes/actions/EditAction.php(71): EditAction->show()
#14 /www/w/includes/Wiki.php(492): SubmitAction->show()
#15 /www/w/includes/Wiki.php(277): MediaWiki->performAction(Object(Article))
#16 /www/w/includes/Wiki.php(601): MediaWiki->performRequest()
#17 /www/w/includes/Wiki.php(511): MediaWiki->main()
#18 /www/w/index.php(58): MediaWiki->run()
#19 {main}
Comment 1 Markus Krötzsch 2012-10-17 17:02:36 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/28376/

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


Navigation
Links