{"action":"opened","issue":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/2177","labels_url":"https://api.github.com/repos/GeoNode/geonode/issues/2177/labels{/name}","comments_url":"https://api.github.com/repos/GeoNode/geonode/issues/2177/comments","events_url":"https://api.github.com/repos/GeoNode/geonode/issues/2177/events","html_url":"https://github.com/GeoNode/geonode/issues/2177","id":84549264,"number":2177,"title":"updatelayers does not sync styles, thumbnails (and maybe other stuff)","user":{"login":"capooti","id":148380,"avatar_url":"https://avatars.githubusercontent.com/u/148380?v=3","gravatar_id":"","url":"https://api.github.com/users/capooti","html_url":"https://github.com/capooti","followers_url":"https://api.github.com/users/capooti/followers","following_url":"https://api.github.com/users/capooti/following{/other_user}","gists_url":"https://api.github.com/users/capooti/gists{/gist_id}","starred_url":"https://api.github.com/users/capooti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capooti/subscriptions","organizations_url":"https://api.github.com/users/capooti/orgs","repos_url":"https://api.github.com/users/capooti/repos","events_url":"https://api.github.com/users/capooti/events{/privacy}","received_events_url":"https://api.github.com/users/capooti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GeoNode/geonode/labels/geoserver-integration","name":"geoserver-integration","color":"ededed"},{"url":"https://api.github.com/repos/GeoNode/geonode/labels/management-commands","name":"management-commands","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GeoNode/geonode/milestones/5","html_url":"https://github.com/GeoNode/geonode/milestones/2.4","labels_url":"https://api.github.com/repos/GeoNode/geonode/milestones/5/labels","id":345475,"number":5,"title":"2.4","description":"","creator":{"login":"capooti","id":148380,"avatar_url":"https://avatars.githubusercontent.com/u/148380?v=3","gravatar_id":"","url":"https://api.github.com/users/capooti","html_url":"https://github.com/capooti","followers_url":"https://api.github.com/users/capooti/followers","following_url":"https://api.github.com/users/capooti/following{/other_user}","gists_url":"https://api.github.com/users/capooti/gists{/gist_id}","starred_url":"https://api.github.com/users/capooti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capooti/subscriptions","organizations_url":"https://api.github.com/users/capooti/orgs","repos_url":"https://api.github.com/users/capooti/repos","events_url":"https://api.github.com/users/capooti/events{/privacy}","received_events_url":"https://api.github.com/users/capooti/received_events","type":"User","site_admin":false},"open_issues":161,"closed_issues":256,"state":"open","created_at":"2013-05-31T08:29:15Z","updated_at":"2015-06-03T12:54:52Z","due_on":"2015-02-14T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-06-03T12:54:52Z","updated_at":"2015-06-03T12:54:52Z","closed_at":null,"body":"This could be solved by adding a layer.save() in gs_slurp, for example here as I did for now to fix it:\r\n\r\nhttps://github.com/GeoNode/geonode/blob/master/geonode/geoserver/helpers.py#L450\r\n\r\nwe will need to discuss if there is a better approach, as this way layer is saved twice even when it is uploaded the first time."}}