Last modified: 2010-04-30 19:52:05 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 T25356, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23356 - Undefined index: [intval] in Maps_Mapper.php on line 153
Undefined index: [intval] in Maps_Mapper.php on line 153
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-30 15:30 UTC by Siebrand Mazeland
Modified: 2010-04-30 19:52 UTC (History)
0 users

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


Attachments

Description Siebrand Mazeland 2010-04-30 15:30:18 UTC
The below map code gives issues. Looks like something's wrong in the Validator parameter passing.

{{#display_point:52, 5|
service=googlemaps2|
height=250|
width=215}}

[30-Apr-2010 15:29:41] /wiki/User:Siebrand: Exception: $dimension is int, not string.
#0 [internal function]: MapsMapper::isMapDimension('215', '215', 'width', false, 3, 'width')
#1 /www/w/extensions/Validator/Validator.class.php(469): call_user_func_array(Array, Array)
#2 /www/w/extensions/Validator/Validator.class.php(435): Validator->doCriteriaValidation(Array, '215', Array, Array)
#3 /www/w/extensions/Validator/Validator.class.php(375): Validator->doItemValidation('width', '215')
#4 /www/w/extensions/Validator/Validator.class.php(222): Validator->validateParameter('width')
#5 /www/w/extensions/Validator/Validator_Manager.php(48): Validator->validateAndFormatParameters()
#6 /www/w/extensions/Maps/Features/Maps_ParserFunctions.php(95): ValidatorManager->manageParameters(Array, Array, Array)
#7 /www/w/extensions/Maps/Features/DisplayPoint/Maps_DisplayPoint.php(68): MapsParserFunctions::getMapHtml(Object(Parser), Array, 'display_point')
#8 [internal function]: MapsDisplayPoint::displayPointRender(Object(Parser), '52.092397, 5.05...', 'service=googlem...', 'height=250', 'width=215')
#9 /www/w/includes/parser/Parser.php(2965): call_user_func_array(Array, Array)
#10 /www/w/includes/parser/Preprocessor_DOM.php(962): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#11 /www/w/includes/parser/Parser.php(2766): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#12 /www/w/includes/parser/Parser.php(941): Parser->replaceVariables('{| cellpadding=...')
#13 /www/w/includes/parser/Parser.php(328): Parser->internalParse('{| cellpadding=...')
#14 /www/w/includes/Article.php(4111): Parser->parse('{| cellpadding=...', Object(Title), Object(ParserOptions), true, true, 2031139)
#15 /www/w/includes/Article.php(4088): Article->getOutputFromWikitext('{| cellpadding=...', true, Object(ParserOptions))
#16 /www/w/includes/Article.php(1383): Article->outputWikiText('{| cellpadding=...', true, Object(ParserOptions))
#17 [internal function]: Article->doViewParse()
#18 /www/w/includes/PoolCounter.php(59): call_user_func(Array)
#19 /www/w/includes/Article.php(933): PoolCounter_Stub->executeProtected(Array, Array)
#20 /www/w/includes/Wiki.php(499): Article->view()
#21 /www/w/includes/Wiki.php(73): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#22 /www/w/index.php(116): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#23 {main}
Comment 1 Jeroen De Dauw 2010-04-30 19:52:05 UTC
Fixed in r65712 and r65713

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


Navigation
Links