Page MenuHomePhabricator

'OutOfRangeException' with message 'Longitude needs to be between -180 and 180'
Closed, ResolvedPublic

Description

Unexpected non-MediaWiki exception encountered, of type "OutOfRangeException"
exception 'OutOfRangeException' with message 'Longitude needs to be between -180 and 180' in /usr/local/apache/common-local/php-1.22wmf14/extensions/DataValues/DataValues/src/LatLongValue.php:82
Stack trace:
#0 /usr/local/apache/common-local/php-1.22wmf14/extensions/DataValues/DataValues/src/LatLongValue.php(60): DataValues\LatLongValue->assertIsLongitude(-225.99)
#1 /usr/local/apache/common-local/php-1.22wmf14/extensions/DataValues/DataValues/src/GlobeCoordinateValue.php(236): DataValues\LatLongValue->__construct(48.269, -225.99)
#2 /usr/local/apache/common-local/php-1.22wmf14/extensions/DataValues/DataValues/src/DataValueFactory.php(95): DataValues\GlobeCoordinateValue::newFromArray(Array)
#3 /usr/local/apache/common-local/php-1.22wmf14/extensions/DataValues/DataValues/src/DataValueFactory.php(115): DataValues\DataValueFactory->newDataValue('globecoordinate', Array)
#4 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Snak/SnakObject.php(158): DataValues\DataValueFactory->tryNewDataValue('globecoordinate', Array)
#5 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Claim/Claim.php(200): Wikibase\SnakObject::newFromArray(Array)
#6 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Claim/Statement.php(149): Wikibase\Claim::newFromArray(Array)
#7 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Claim/Claim.php(197): Wikibase\Statement::newFromArray(Array)
#8 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Entity/Entity.php(726): Wikibase\Claim::newFromArray(Array)
#9 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Entity/Entity.php(709): Wikibase\Entity->unstubClaims()
#10 /usr/local/apache/common-local/php-1.22wmf14/extensions/WikibaseDataModel/DataModel/Entity/Entity.php(934): Wikibase\Entity->getClaims()
#11 /usr/local/apache/common-local/php-1.22wmf14/extensions/Wikibase/repo/includes/EntityView.php(257): Wikibase\Entity->getAllSnaks()
#12 /usr/local/apache/common-local/php-1.22wmf14/extensions/Wikibase/repo/includes/content/EntityContent.php(148): Wikibase\EntityView->getParserOutput(Object(Wikibase\ItemContent), Object(ParserOptions), true)
#13 /usr/local/apache/common-local/php-1.22wmf14/includes/WikiPage.php(3463): Wikibase\EntityContent->getParserOutput(Object(Title), 66640416, Object(ParserOptions))
#14 /usr/local/apache/common-local/php-1.22wmf14/includes/PoolCounter.php(222): PoolWorkArticleView->doWork()
#15 /usr/local/apache/common-local/php-1.22wmf14/includes/Article.php(708): PoolCounterWork->execute()
#16 /usr/local/apache/common-local/php-1.22wmf14/extensions/Wikibase/repo/includes/actions/ViewEntityAction.php(229): Article->view()
#17 /usr/local/apache/common-local/php-1.22wmf14/extensions/Wikibase/repo/includes/actions/ViewEntityAction.php(156): Wikibase\ViewEntityAction->displayEntityContent(Object(Wikibase\ItemContent))
#18 /usr/local/apache/common-local/php-1.22wmf14/includes/Wiki.php(440): Wikibase\ViewEntityAction->show()
#19 /usr/local/apache/common-local/php-1.22wmf14/includes/Wiki.php(305): MediaWiki->performAction(Object(Article), Object(Title))
#20 /usr/local/apache/common-local/php-1.22wmf14/includes/Wiki.php(588): MediaWiki->performRequest()
#21 /usr/local/apache/common-local/php-1.22wmf14/includes/Wiki.php(459): MediaWiki->main()
#22 /usr/local/apache/common-local/php-1.22wmf14/index.php(55): MediaWiki->run()
#23 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#24 {main}


Version: master
Severity: critical

Details

Reference
bz53391

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 1:52 AM
bzimport set Reference to bz53391.
bzimport added a subscriber: Unknown Object (MLST).
Addshore created this task.Aug 27 2013, 8:59 AM

Change 81195 had a related patch set uploaded by Aude:
(bug 53391) allow lat/lon values from -360 to 360, possible for non-earth globes

https://gerrit.wikimedia.org/r/81195

Change 81193 had a related patch set uploaded by Aude:
allow lat/lon values from -360 to 360, possible for non-earth globes

https://gerrit.wikimedia.org/r/81193

Change 81193 merged by jenkins-bot:
(bug 53391) allow lat/lon values from -360 to 360, possible for non-earth globes

https://gerrit.wikimedia.org/r/81193

Change 81195 merged by jenkins-bot:
(bug 53391) allow lat/lon values from -360 to 360, possible for non-earth globes

https://gerrit.wikimedia.org/r/81195

Addshore: Now that all patches are merged: Is there anything left to do here, or can this be resolved as FIXED?