{"action":"created","issue":{"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/371","labels_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/371/comments","events_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/371/events","html_url":"https://github.com/akvo/akvo-flow-mobile/issues/371","id":115853434,"number":371,"title":"Cascade resource compatibility issues","user":{"login":"ichinaski","id":1754343,"avatar_url":"https://avatars.githubusercontent.com/u/1754343?v=3","gravatar_id":"","url":"https://api.github.com/users/ichinaski","html_url":"https://github.com/ichinaski","followers_url":"https://api.github.com/users/ichinaski/followers","following_url":"https://api.github.com/users/ichinaski/following{/other_user}","gists_url":"https://api.github.com/users/ichinaski/gists{/gist_id}","starred_url":"https://api.github.com/users/ichinaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichinaski/subscriptions","organizations_url":"https://api.github.com/users/ichinaski/orgs","repos_url":"https://api.github.com/users/ichinaski/repos","events_url":"https://api.github.com/users/ichinaski/events{/privacy}","received_events_url":"https://api.github.com/users/ichinaski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ichinaski","id":1754343,"avatar_url":"https://avatars.githubusercontent.com/u/1754343?v=3","gravatar_id":"","url":"https://api.github.com/users/ichinaski","html_url":"https://github.com/ichinaski","followers_url":"https://api.github.com/users/ichinaski/followers","following_url":"https://api.github.com/users/ichinaski/following{/other_user}","gists_url":"https://api.github.com/users/ichinaski/gists{/gist_id}","starred_url":"https://api.github.com/users/ichinaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichinaski/subscriptions","organizations_url":"https://api.github.com/users/ichinaski/orgs","repos_url":"https://api.github.com/users/ichinaski/repos","events_url":"https://api.github.com/users/ichinaski/events{/privacy}","received_events_url":"https://api.github.com/users/ichinaski/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-09T11:01:52Z","updated_at":"2015-11-11T13:55:33Z","closed_at":null,"body":"# Overview\r\n\r\nOld cascade resources do not have the *code* column in the SQLite database, which makes some devices throw an Exception when explicitly querying such property.\r\n\r\nThe solution is to query all available columns, and check the existence of such property in the resulting Cursor.\r\n\r\nWhen using old resources, the generated levels' response will contain a **null** code property in the JSON-formatted response."},"comment":{"url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/comments/155789989","html_url":"https://github.com/akvo/akvo-flow-mobile/issues/371#issuecomment-155789989","issue_url":"https://api.github.com/repos/akvo/akvo-flow-mobile/issues/371","id":155789989,"user":{"login":"ichinaski","id":1754343,"avatar_url":"https://avatars.githubusercontent.com/u/1754343?v=3","gravatar_id":"","url":"https://api.github.com/users/ichinaski","html_url":"https://github.com/ichinaski","followers_url":"https://api.github.com/users/ichinaski/followers","following_url":"https://api.github.com/users/ichinaski/following{/other_user}","gists_url":"https://api.github.com/users/ichinaski/gists{/gist_id}","starred_url":"https://api.github.com/users/ichinaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichinaski/subscriptions","organizations_url":"https://api.github.com/users/ichinaski/orgs","repos_url":"https://api.github.com/users/ichinaski/repos","events_url":"https://api.github.com/users/ichinaski/events{/privacy}","received_events_url":"https://api.github.com/users/ichinaski/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T13:55:33Z","updated_at":"2015-11-11T13:55:33Z","body":"From my point of view, that is correct. When no code is specified, the code is `null`. If this is not breaking any other part of the system, I think this is okay."}}