Last modified: 2013-01-18 18:04:16 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 T44344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42344 - Error when a property of type Geographic Coordinates has no value (SM 2.1alpha)
Error when a property of type Geographic Coordinates has no value (SM 2.1alpha)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticMaps (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-22 00:59 UTC by [[kgh]]
Modified: 2013-01-18 18:04 UTC (History)
2 users (show)

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


Attachments

Description [[kgh]] 2012-11-22 00:59:59 UTC
This error occurs when you have a template holding e.g. three different locations and none, one or just two locations are set.

Attempt to get the latitude of an invalid location
Backtrace:
#0 /.../extensions/Maps/includes/Maps_Location.php(427): MapsLocation->getLatitude()
#1 /.../extensions/Maps/includes/manipulations/Maps_ParamLocation.php(77): MapsLocation->getJSONObject()
#2 /.../extensions/Validator/includes/ItemParameterManipulation.php(61): MapsParamLocation->doManipulation(Object(MapsLocation), Object(ListParameter), Array)
#3 /.../extensions/Validator/includes/Param.php(244): ItemParameterManipulation->manipulate(Object(ListParameter), Array)
#4 /.../extensions/Validator/includes/Validator.php(341): Param->format(Array, Array, Object(ValidatorOptions))
#5 /.../extensions/Validator/includes/Validator.php(281): Validator->doParamProcessing()
#6 /.../extensions/SemanticMaps/includes/forminputs/SM_FormInput.php(115): Validator->validateParameters()
#7 /.../extensions/SemanticMaps/includes/forminputs/SM_FormInputs.php(129): SMFormInput->getInputOutput('', 'Person[Assured ...', false, false, Array)
#8 [internal function]: smfSelectFormInputHTML('', 'Person[Assured ...', false, false, Array)
#9 /.../extensions/SemanticForms/includes/SF_FormPrinter.php(1664): call_user_func_array('smfSelectFormIn...', Array)
#10 /.../extensions/SemanticForms/includes/SF_FormPrinter.php(1255): SFFormPrinter->formFieldHTML(Object(SFFormField), '')
#11 /.../extensions/SemanticForms/specials/SF_FormEdit.php(197): SFFormPrinter->formHTML('<includeonly>?<...', false, true, 203, '{{Person?|Vorna...', 'Benutzer:Bodo', NULL)
#12 /.../extensions/SemanticForms/includes/SF_FormEditAction.php(205): SFFormEdit::printForm('Person', 'Benutzer:Bodo')
#13 /.../extensions/SemanticForms/includes/SF_FormEditAction.php(32): SFFormEditAction::displayForm(Object(SFFormEditAction), Object(Article))
#14 /.../includes/Wiki.php(484): SFFormEditAction->show()
#15 /.../includes/Wiki.php(278): MediaWiki->performAction(Object(Article))
#16 /.../62451/includes/Wiki.php(593): MediaWiki->performRequest()
#17 /.../includes/Wiki.php(503): MediaWiki->main()
#18 /.../index.php(58): MediaWiki->run()
#19 {main}
Comment 1 Jeroen De Dauw 2013-01-18 18:04:16 UTC
This can no longer occur

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


Navigation
Links