{"action":"opened","issue":{"url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer/issues/25","repository_url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer","labels_url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer/issues/25/comments","events_url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer/issues/25/events","html_url":"https://github.com/WazeUSA/WME-Place-Harmonizer/issues/25","id":196583577,"number":25,"title":"Failing to infer address","user":{"login":"mapomatic","id":19505091,"avatar_url":"https://avatars.githubusercontent.com/u/19505091?v=3","gravatar_id":"","url":"https://api.github.com/users/mapomatic","html_url":"https://github.com/mapomatic","followers_url":"https://api.github.com/users/mapomatic/followers","following_url":"https://api.github.com/users/mapomatic/following{/other_user}","gists_url":"https://api.github.com/users/mapomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/mapomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapomatic/subscriptions","organizations_url":"https://api.github.com/users/mapomatic/orgs","repos_url":"https://api.github.com/users/mapomatic/repos","events_url":"https://api.github.com/users/mapomatic/events{/privacy}","received_events_url":"https://api.github.com/users/mapomatic/received_events","type":"User","site_admin":false},"labels":[{"id":503672537,"url":"https://api.github.com/repos/WazeUSA/WME-Place-Harmonizer/labels/bug:%20MAJOR","name":"bug: MAJOR","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-20T04:25:16Z","updated_at":"2016-12-20T04:25:16Z","closed_at":null,"body":"Categorizing this a major bug because it could affect a lot of places (not sure).  It affects at least some (all?) places that don't have an address.\r\n\r\nThis line:\r\n`W.geometryEditing.editors.venue.navigationPoint.lonlat.toPoint();`\r\n\r\nCauses this console error:\r\n```\r\nVM796:6207 Uncaught TypeError: Cannot read property 'venue' of null\r\n    at WMEPH_inferAddress (eval at <anonymous> (:2:297), <anonymous>:6207:38)\r\n    at harmonizePlaceGo (eval at <anonymous> (:2:297), <anonymous>:3084:47)\r\n    at harmonizePlace (eval at <anonymous> (:2:297), <anonymous>:1637:21)\r\n    at HTMLInputElement.btn.onclick (eval at <anonymous> (:2:297), <anonymous>:5119:25)\r\n```\r\n\r\nJustinS83 says:\r\n\r\n> Failing to infer the address\r\nW.geometryEditing.venue no longer exists\r\nWas changed because of upcoming multiple entry/exit points\r\nYou have to iterate the array\r\nselectedItem.model.attributes.entryExitPoints\r\nAt this point, just pull [0]\r\n\r\nMaybe a simple fix?"}}
{"actor":{"display_login":"mapomatic"}}