{"action":"created","issue":{"url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/261","labels_url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/261/comments","events_url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/261/events","html_url":"https://github.com/kobotoolbox/enketo-express/issues/261","id":96096004,"number":261,"title":"Branching logic not evaluated when it should be","user":{"login":"MartijnR","id":627350,"avatar_url":"https://avatars.githubusercontent.com/u/627350?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnR","html_url":"https://github.com/MartijnR","followers_url":"https://api.github.com/users/MartijnR/followers","following_url":"https://api.github.com/users/MartijnR/following{/other_user}","gists_url":"https://api.github.com/users/MartijnR/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnR/subscriptions","organizations_url":"https://api.github.com/users/MartijnR/orgs","repos_url":"https://api.github.com/users/MartijnR/repos","events_url":"https://api.github.com/users/MartijnR/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kobotoolbox/enketo-express/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kobotoolbox/enketo-express/milestones/5","html_url":"https://github.com/kobotoolbox/enketo-express/milestones/KoBoSurge","labels_url":"https://api.github.com/repos/kobotoolbox/enketo-express/milestones/5/labels","id":1082799,"number":5,"title":"KoBoSurge","description":"","creator":{"login":"MartijnR","id":627350,"avatar_url":"https://avatars.githubusercontent.com/u/627350?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnR","html_url":"https://github.com/MartijnR","followers_url":"https://api.github.com/users/MartijnR/followers","following_url":"https://api.github.com/users/MartijnR/following{/other_user}","gists_url":"https://api.github.com/users/MartijnR/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnR/subscriptions","organizations_url":"https://api.github.com/users/MartijnR/orgs","repos_url":"https://api.github.com/users/MartijnR/repos","events_url":"https://api.github.com/users/MartijnR/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnR/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":30,"state":"open","created_at":"2015-04-24T19:58:18Z","updated_at":"2015-07-20T16:01:03Z","due_on":"2015-07-31T06:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-20T16:01:03Z","updated_at":"2015-07-20T17:15:07Z","closed_at":null,"body":"as reported @yanokwa\r\n\r\n> If I say that I've been registered, and select an age over 18, it\r\nbranches me to not registered. This is NOT expected behavior.\r\n\r\n> If I go back and say I've not been registered, and select a age over\r\n18, it branches me to not registered. This is expected behavior.\r\n\r\n> Now when I go back to the first question and say I've been registered,\r\nnow it works as expected.\r\n"},"comment":{"url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/comments/122956600","html_url":"https://github.com/kobotoolbox/enketo-express/issues/261#issuecomment-122956600","issue_url":"https://api.github.com/repos/kobotoolbox/enketo-express/issues/261","id":122956600,"user":{"login":"MartijnR","id":627350,"avatar_url":"https://avatars.githubusercontent.com/u/627350?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnR","html_url":"https://github.com/MartijnR","followers_url":"https://api.github.com/users/MartijnR/followers","following_url":"https://api.github.com/users/MartijnR/following{/other_user}","gists_url":"https://api.github.com/users/MartijnR/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnR/subscriptions","organizations_url":"https://api.github.com/users/MartijnR/orgs","repos_url":"https://api.github.com/users/MartijnR/repos","events_url":"https://api.github.com/users/MartijnR/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnR/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T17:15:07Z","updated_at":"2015-07-20T17:15:07Z","body":"* [ ] add a test to enketo-core for this\r\n* [ ] determine whether it makes sense to bring the performance improvement back. It improves loading performance but it will require evaluating all the child branches when a branch gets enabled. The net result might be negative.\r\n"}}