{"action":"created","issue":{"url":"https://api.github.com/repos/fisharebest/webtrees/issues/929","repository_url":"https://api.github.com/repos/fisharebest/webtrees","labels_url":"https://api.github.com/repos/fisharebest/webtrees/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/fisharebest/webtrees/issues/929/comments","events_url":"https://api.github.com/repos/fisharebest/webtrees/issues/929/events","html_url":"https://github.com/fisharebest/webtrees/issues/929","id":153771895,"number":929,"title":"Googlemaps module bug","user":{"login":"ddrury","id":104515,"avatar_url":"https://avatars.githubusercontent.com/u/104515?v=3","gravatar_id":"","url":"https://api.github.com/users/ddrury","html_url":"https://github.com/ddrury","followers_url":"https://api.github.com/users/ddrury/followers","following_url":"https://api.github.com/users/ddrury/following{/other_user}","gists_url":"https://api.github.com/users/ddrury/gists{/gist_id}","starred_url":"https://api.github.com/users/ddrury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddrury/subscriptions","organizations_url":"https://api.github.com/users/ddrury/orgs","repos_url":"https://api.github.com/users/ddrury/repos","events_url":"https://api.github.com/users/ddrury/events{/privacy}","received_events_url":"https://api.github.com/users/ddrury/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T13:06:00Z","updated_at":"2016-05-09T21:05:05Z","closed_at":"2016-05-09T20:29:44Z","body":"With streetview enabled and setting the longitude for the centre of England as W1 which is returned as -1, when saving the streetview parameters something similar to the following error is generated (this one refers to sv_bearing but depending upon the edited values other fields can be in error)\r\n\r\n> <path>\\app\\Statement.php:82 SQLSTATE[01000]: Warning: 1265 Data truncated for column 'sv_bearing' at row 1 #0 \\app\\Statement.php:82 PDOException(\"SQLSTATE[01000]: Warning: 1265 Data truncated for column 'sv_bearing' at row 1\") #1 \\app\\Module\\GoogleMapsModule.php:3282 execute([array]) #2 \\app\\Module\\GoogleMapsModule.php:108 placesEdit() #3 \\module.php:26 modAction('places_edit')\r\n"},"comment":{"url":"https://api.github.com/repos/fisharebest/webtrees/issues/comments/217989488","html_url":"https://github.com/fisharebest/webtrees/issues/929#issuecomment-217989488","issue_url":"https://api.github.com/repos/fisharebest/webtrees/issues/929","id":217989488,"user":{"login":"ddrury","id":104515,"avatar_url":"https://avatars.githubusercontent.com/u/104515?v=3","gravatar_id":"","url":"https://api.github.com/users/ddrury","html_url":"https://github.com/ddrury","followers_url":"https://api.github.com/users/ddrury/followers","following_url":"https://api.github.com/users/ddrury/following{/other_user}","gists_url":"https://api.github.com/users/ddrury/gists{/gist_id}","starred_url":"https://api.github.com/users/ddrury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddrury/subscriptions","organizations_url":"https://api.github.com/users/ddrury/orgs","repos_url":"https://api.github.com/users/ddrury/repos","events_url":"https://api.github.com/users/ddrury/events{/privacy}","received_events_url":"https://api.github.com/users/ddrury/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T21:05:05Z","updated_at":"2016-05-09T21:05:05Z","body":"Thanks for this, I removed the comment because the slice(0, -1) looked \nso flaky that I thought there must be something devious going on!\n\nRegards\nDavid\nPlease consider the environment before printing this e-mail\n\n\n\n------ Original Message ------\nFrom: \"Greg Roach\" <notifications@github.com>\nTo: \"fisharebest/webtrees\" <webtrees@noreply.github.com>\nCc: \"David Drury\" <david@drury.me.uk>; \"State change\" \n<state_change@noreply.github.com>\nSent: 09/05/2016 21:30:58\nSubject: Re: [fisharebest/webtrees] Googlemaps module bug (#929)\n\n>As per your earlier comment, the slice(0,-1) look bogus, and I don't \n>know why they were added.\n>\n>—\n>You are receiving this because you modified the open/close state.\n>Reply to this email directly or view it on GitHub\n>"}}