{"action":"opened","issue":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/1797","labels_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1797/labels{/name}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1797/comments","events_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1797/events","html_url":"https://github.com/AIFDR/inasafe/issues/1797","id":68831797,"number":1797,"title":"Reverse the way we treat layers in IF","user":{"login":"akbargumbira","id":992519,"avatar_url":"https://avatars.githubusercontent.com/u/992519?v=3","gravatar_id":"","url":"https://api.github.com/users/akbargumbira","html_url":"https://github.com/akbargumbira","followers_url":"https://api.github.com/users/akbargumbira/followers","following_url":"https://api.github.com/users/akbargumbira/following{/other_user}","gists_url":"https://api.github.com/users/akbargumbira/gists{/gist_id}","starred_url":"https://api.github.com/users/akbargumbira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akbargumbira/subscriptions","organizations_url":"https://api.github.com/users/akbargumbira/orgs","repos_url":"https://api.github.com/users/akbargumbira/repos","events_url":"https://api.github.com/users/akbargumbira/events{/privacy}","received_events_url":"https://api.github.com/users/akbargumbira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T02:47:40Z","updated_at":"2015-04-16T02:47:40Z","closed_at":null,"body":"Right now, in the IF, we need to have the layers as safe layer and pass it to the IF (if it's QgsMapLayer we wrap it using QgsWrapper class).\n\nThe proposed solution is that we always pass QgsMapLayer to IF, and convert it to safe layer instead in the IF if the IF is the old style IF"}}