{"action":"opened","number":1187,"pull_request":{"url":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187","id":69536377,"html_url":"https://github.com/camptocamp/ngeo/pull/1187","diff_url":"https://github.com/camptocamp/ngeo/pull/1187.diff","patch_url":"https://github.com/camptocamp/ngeo/pull/1187.patch","issue_url":"https://api.github.com/repos/camptocamp/ngeo/issues/1187","number":1187,"state":"open","locked":false,"title":"Properly register group layers in permalink service","user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"body":"The moment the group layer for mixed layers is registered with the permalink service, the group does not have any layers yet. They are only added later when the directive in the layer tree is compiled (?).\r\n\r\nBy setting up a listener on the layer collection of each group layer, all layers can be registered.\r\n\r\nCloses https://github.com/camptocamp/ngeo/issues/1163","created_at":"2016-05-10T16:27:04Z","updated_at":"2016-05-10T16:27:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187/commits","review_comments_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187/comments","review_comment_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/issues/1187/comments","statuses_url":"https://api.github.com/repos/camptocamp/ngeo/statuses/8db7d605051925381325c350df86e5a87711c5c1","head":{"label":"tsauerwein:perma-mixed","ref":"perma-mixed","sha":"8db7d605051925381325c350df86e5a87711c5c1","user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"repo":{"id":28918712,"name":"ngeo","full_name":"tsauerwein/ngeo","owner":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsauerwein/ngeo","description":"Library combining OpenLayers 3 and AngularJS","fork":true,"url":"https://api.github.com/repos/tsauerwein/ngeo","forks_url":"https://api.github.com/repos/tsauerwein/ngeo/forks","keys_url":"https://api.github.com/repos/tsauerwein/ngeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsauerwein/ngeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsauerwein/ngeo/teams","hooks_url":"https://api.github.com/repos/tsauerwein/ngeo/hooks","issue_events_url":"https://api.github.com/repos/tsauerwein/ngeo/issues/events{/number}","events_url":"https://api.github.com/repos/tsauerwein/ngeo/events","assignees_url":"https://api.github.com/repos/tsauerwein/ngeo/assignees{/user}","branches_url":"https://api.github.com/repos/tsauerwein/ngeo/branches{/branch}","tags_url":"https://api.github.com/repos/tsauerwein/ngeo/tags","blobs_url":"https://api.github.com/repos/tsauerwein/ngeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsauerwein/ngeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsauerwein/ngeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsauerwein/ngeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsauerwein/ngeo/statuses/{sha}","languages_url":"https://api.github.com/repos/tsauerwein/ngeo/languages","stargazers_url":"https://api.github.com/repos/tsauerwein/ngeo/stargazers","contributors_url":"https://api.github.com/repos/tsauerwein/ngeo/contributors","subscribers_url":"https://api.github.com/repos/tsauerwein/ngeo/subscribers","subscription_url":"https://api.github.com/repos/tsauerwein/ngeo/subscription","commits_url":"https://api.github.com/repos/tsauerwein/ngeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsauerwein/ngeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsauerwein/ngeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsauerwein/ngeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsauerwein/ngeo/contents/{+path}","compare_url":"https://api.github.com/repos/tsauerwein/ngeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsauerwein/ngeo/merges","archive_url":"https://api.github.com/repos/tsauerwein/ngeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsauerwein/ngeo/downloads","issues_url":"https://api.github.com/repos/tsauerwein/ngeo/issues{/number}","pulls_url":"https://api.github.com/repos/tsauerwein/ngeo/pulls{/number}","milestones_url":"https://api.github.com/repos/tsauerwein/ngeo/milestones{/number}","notifications_url":"https://api.github.com/repos/tsauerwein/ngeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsauerwein/ngeo/labels{/name}","releases_url":"https://api.github.com/repos/tsauerwein/ngeo/releases{/id}","deployments_url":"https://api.github.com/repos/tsauerwein/ngeo/deployments","created_at":"2015-01-07T14:50:32Z","updated_at":"2015-01-07T14:50:33Z","pushed_at":"2016-05-10T16:25:33Z","git_url":"git://github.com/tsauerwein/ngeo.git","ssh_url":"git@github.com:tsauerwein/ngeo.git","clone_url":"https://github.com/tsauerwein/ngeo.git","svn_url":"https://github.com/tsauerwein/ngeo","homepage":null,"size":8138,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"camptocamp:master","ref":"master","sha":"01f67fa6a06f6e75cd13450556ae2f21a122d214","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":20212761,"name":"ngeo","full_name":"camptocamp/ngeo","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/ngeo","description":"Library combining OpenLayers 3 and AngularJS","fork":false,"url":"https://api.github.com/repos/camptocamp/ngeo","forks_url":"https://api.github.com/repos/camptocamp/ngeo/forks","keys_url":"https://api.github.com/repos/camptocamp/ngeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/ngeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/ngeo/teams","hooks_url":"https://api.github.com/repos/camptocamp/ngeo/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/ngeo/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/ngeo/events","assignees_url":"https://api.github.com/repos/camptocamp/ngeo/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/ngeo/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/ngeo/tags","blobs_url":"https://api.github.com/repos/camptocamp/ngeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/ngeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/ngeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/ngeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/ngeo/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/ngeo/languages","stargazers_url":"https://api.github.com/repos/camptocamp/ngeo/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/ngeo/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/ngeo/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/ngeo/subscription","commits_url":"https://api.github.com/repos/camptocamp/ngeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/ngeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/ngeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/ngeo/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/ngeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/ngeo/merges","archive_url":"https://api.github.com/repos/camptocamp/ngeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/ngeo/downloads","issues_url":"https://api.github.com/repos/camptocamp/ngeo/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/ngeo/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/ngeo/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/ngeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/ngeo/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/ngeo/releases{/id}","deployments_url":"https://api.github.com/repos/camptocamp/ngeo/deployments","created_at":"2014-05-27T08:34:54Z","updated_at":"2016-05-08T21:57:04Z","pushed_at":"2016-05-10T16:27:05Z","git_url":"git://github.com/camptocamp/ngeo.git","ssh_url":"git@github.com:camptocamp/ngeo.git","clone_url":"https://github.com/camptocamp/ngeo.git","svn_url":"https://github.com/camptocamp/ngeo","homepage":null,"size":102729,"stargazers_count":68,"watchers_count":68,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":73,"forks":45,"open_issues":73,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187"},"html":{"href":"https://github.com/camptocamp/ngeo/pull/1187"},"issue":{"href":"https://api.github.com/repos/camptocamp/ngeo/issues/1187"},"comments":{"href":"https://api.github.com/repos/camptocamp/ngeo/issues/1187/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/1187/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/ngeo/statuses/8db7d605051925381325c350df86e5a87711c5c1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":12,"changed_files":2}}