{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/3298","repository_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3","labels_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/3298/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/3298/comments","events_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/3298/events","html_url":"https://github.com/geoadmin/mf-geoadmin3/issues/3298","id":151814854,"number":3298,"title":"[layertree/layerselection] not the same layer title in selection and layertree","user":{"login":"mariokeusen","id":4577749,"avatar_url":"https://avatars.githubusercontent.com/u/4577749?v=3","gravatar_id":"","url":"https://api.github.com/users/mariokeusen","html_url":"https://github.com/mariokeusen","followers_url":"https://api.github.com/users/mariokeusen/followers","following_url":"https://api.github.com/users/mariokeusen/following{/other_user}","gists_url":"https://api.github.com/users/mariokeusen/gists{/gist_id}","starred_url":"https://api.github.com/users/mariokeusen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariokeusen/subscriptions","organizations_url":"https://api.github.com/users/mariokeusen/orgs","repos_url":"https://api.github.com/users/mariokeusen/repos","events_url":"https://api.github.com/users/mariokeusen/events{/privacy}","received_events_url":"https://api.github.com/users/mariokeusen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/labels/1st%20prio","name":"1st prio","color":"e11d21"},{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/labels/bug","name":"bug","color":"000000"}],"state":"open","locked":false,"assignee":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"assignees":[{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/milestones/15","html_url":"https://github.com/geoadmin/mf-geoadmin3/milestones/2016-05-11","labels_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/milestones/15/labels","id":1731956,"number":15,"title":"2016-05-11","description":"","creator":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"closed","created_at":"2016-04-26T14:21:53Z","updated_at":"2016-10-27T08:49:14Z","due_on":"2016-05-10T22:00:00Z","closed_at":"2016-05-12T07:23:19Z"},"comments":15,"created_at":"2016-04-29T08:10:46Z","updated_at":"2016-10-27T08:49:14Z","closed_at":null,"body":"UC: open https://map.geo.admin.ch/?topic=swisstopo&lang=de&bgLayer=ch.swisstopo.pixelkarte-farbe&catalogNodes=1538&layers=ch.swisstopo.wk50-papierkarte.metadata , look at the layertree/catalog and the name of the activated layer, look at the name of the layer in the selection\r\nResult: not the same layer name in selection and catalog (yes, there is also an error in geocat, in DE there is a RM alternativtitle, data owner is informed to solve this)\r\nExpected: it is always the same layer name and language in catalog and selection\r\n![layertreeselectionissue_20160429](https://cloud.githubusercontent.com/assets/4577749/14911028/b9d7d7f4-0df2-11e6-8445-68d86dbcac2c.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/comments/256584001","html_url":"https://github.com/geoadmin/mf-geoadmin3/issues/3298#issuecomment-256584001","issue_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/3298","id":256584001,"user":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T08:49:14Z","updated_at":"2016-10-27T08:49:14Z","body":"This has been a repeated issue and we need to solve this once and for all.\r\n\r\nThe problem:\r\n1) catalog gets layer translations from [view in bod](https://github.com/geoadmin/mf-chsdi3/blob/master/chsdi/models/bod.py#L390). it always delivers what's in bod\r\n2) layersconfig gets layer translation from po files [via translate](https://github.com/geoadmin/mf-chsdi3/blob/master/chsdi/models/bod.py#L108), which only delivers what was translated by hand with make translate\r\n\r\nIMO, we should remove the layer translations from the po translations files and get it 'live' from the bod for the layersConfig - unless we have other occurences where we get them from the po translations. Then we can say wie remove the translations from the catalog view and also use the po file approach.\r\n\r\n@loicgasser Thoughts?\r\n\r\nPlease do an emergency deploy. I'll try to move this issue to mf-chsdi3.\r\n"}}
{"actor":{"display_login":"gjn"}}