{"action":"created","issue":{"url":"https://api.github.com/repos/geoserver/geoserver/issues/1047","labels_url":"https://api.github.com/repos/geoserver/geoserver/issues/1047/labels{/name}","comments_url":"https://api.github.com/repos/geoserver/geoserver/issues/1047/comments","events_url":"https://api.github.com/repos/geoserver/geoserver/issues/1047/events","html_url":"https://github.com/geoserver/geoserver/pull/1047","id":74075072,"number":1047,"title":"fixed [GEOS-7012] and a related issue master. ","user":{"login":"smesdaghi","id":1099873,"avatar_url":"https://avatars.githubusercontent.com/u/1099873?v=3","gravatar_id":"","url":"https://api.github.com/users/smesdaghi","html_url":"https://github.com/smesdaghi","followers_url":"https://api.github.com/users/smesdaghi/followers","following_url":"https://api.github.com/users/smesdaghi/following{/other_user}","gists_url":"https://api.github.com/users/smesdaghi/gists{/gist_id}","starred_url":"https://api.github.com/users/smesdaghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smesdaghi/subscriptions","organizations_url":"https://api.github.com/users/smesdaghi/orgs","repos_url":"https://api.github.com/users/smesdaghi/repos","events_url":"https://api.github.com/users/smesdaghi/events{/privacy}","received_events_url":"https://api.github.com/users/smesdaghi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T18:02:41Z","updated_at":"2015-05-07T19:23:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geoserver/geoserver/pulls/1047","html_url":"https://github.com/geoserver/geoserver/pull/1047","diff_url":"https://github.com/geoserver/geoserver/pull/1047.diff","patch_url":"https://github.com/geoserver/geoserver/pull/1047.patch"},"body":"using the rest api to import geojson was failing because the LayerInfo object return by the importer was not properly populated. The importer was working through geoserver but attempting to import from geonode exposed the issues. for example, the following expand=3 would cause geoserver to throw an exception as listed in [GEOS-7012]. \r\nhttp://localhost:8080/geoserver/rest/imports/1/tasks/0?expand=3\r\n\r\nSecond commit computes the bounds properly as well. These changes are safe for 2.6/2.7/master as well since GeoJSONFormat has not changed. Will generate a pull request for each branch. "},"comment":{"url":"https://api.github.com/repos/geoserver/geoserver/issues/comments/99988139","html_url":"https://github.com/geoserver/geoserver/pull/1047#issuecomment-99988139","issue_url":"https://api.github.com/repos/geoserver/geoserver/issues/1047","id":99988139,"user":{"login":"aaime","id":325433,"avatar_url":"https://avatars.githubusercontent.com/u/325433?v=3","gravatar_id":"","url":"https://api.github.com/users/aaime","html_url":"https://github.com/aaime","followers_url":"https://api.github.com/users/aaime/followers","following_url":"https://api.github.com/users/aaime/following{/other_user}","gists_url":"https://api.github.com/users/aaime/gists{/gist_id}","starred_url":"https://api.github.com/users/aaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaime/subscriptions","organizations_url":"https://api.github.com/users/aaime/orgs","repos_url":"https://api.github.com/users/aaime/repos","events_url":"https://api.github.com/users/aaime/events{/privacy}","received_events_url":"https://api.github.com/users/aaime/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T19:23:31Z","updated_at":"2015-05-07T19:23:31Z","body":"As a documented rule (https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md) we ask that every change contains a test. Citing:\r\n\r\n\"Include a test case that shows your patch fixes an issue (or adds new functionality). If you do not include a test case the developer reviewing your work will need to create one.\"\r\n\r\n(aka, you might have to wait months for someone to create it, and if it does not happen, the pull request gets closed without being merged)."}}