{"action":"created","issue":{"url":"https://api.github.com/repos/opendatakit/collect/issues/2112","repository_url":"https://api.github.com/repos/opendatakit/collect","labels_url":"https://api.github.com/repos/opendatakit/collect/issues/2112/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/collect/issues/2112/comments","events_url":"https://api.github.com/repos/opendatakit/collect/issues/2112/events","html_url":"https://github.com/opendatakit/collect/issues/2112","id":313123160,"number":2112,"title":"Field list questions are shown on separate screens after jump because of constraint error","user":{"login":"lognaturel","id":967540,"avatar_url":"https://avatars3.githubusercontent.com/u/967540?v=4","gravatar_id":"","url":"https://api.github.com/users/lognaturel","html_url":"https://github.com/lognaturel","followers_url":"https://api.github.com/users/lognaturel/followers","following_url":"https://api.github.com/users/lognaturel/following{/other_user}","gists_url":"https://api.github.com/users/lognaturel/gists{/gist_id}","starred_url":"https://api.github.com/users/lognaturel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lognaturel/subscriptions","organizations_url":"https://api.github.com/users/lognaturel/orgs","repos_url":"https://api.github.com/users/lognaturel/repos","events_url":"https://api.github.com/users/lognaturel/events{/privacy}","received_events_url":"https://api.github.com/users/lognaturel/received_events","type":"User","site_admin":false},"labels":[{"id":437069849,"url":"https://api.github.com/repos/opendatakit/collect/labels/enhancement","name":"enhancement","color":"5319e7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-10T23:26:59Z","updated_at":"2018-04-11T19:12:56Z","closed_at":null,"author_association":"MEMBER","body":"#### Software and hardware versions \r\nCollect v1.14.0\r\n\r\n#### Problem description\r\nField list questions are shown on separate screens after jump because of constraint error\r\n\r\n#### Steps to reproduce the problem\r\n1. Use a form with a question in a field list that has a constraint such as [group-audit.xml.txt](https://github.com/opendatakit/collect/files/1896749/group-audit.xml.txt)\r\n1. Enter a value that violates the constraint (e.g. Foobar in the form above)\r\n1. Jump to the end of the form\r\n1. Tap save and finalize\r\n1. Jump back to the question with the constraint but on a single screen\r\n\r\n#### Expected behavior\r\nJump back to the field list with the question that is problematic highlighted "},"comment":{"url":"https://api.github.com/repos/opendatakit/collect/issues/comments/380564231","html_url":"https://github.com/opendatakit/collect/issues/2112#issuecomment-380564231","issue_url":"https://api.github.com/repos/opendatakit/collect/issues/2112","id":380564231,"user":{"login":"lognaturel","id":967540,"avatar_url":"https://avatars3.githubusercontent.com/u/967540?v=4","gravatar_id":"","url":"https://api.github.com/users/lognaturel","html_url":"https://github.com/lognaturel","followers_url":"https://api.github.com/users/lognaturel/followers","following_url":"https://api.github.com/users/lognaturel/following{/other_user}","gists_url":"https://api.github.com/users/lognaturel/gists{/gist_id}","starred_url":"https://api.github.com/users/lognaturel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lognaturel/subscriptions","organizations_url":"https://api.github.com/users/lognaturel/orgs","repos_url":"https://api.github.com/users/lognaturel/repos","events_url":"https://api.github.com/users/lognaturel/events{/privacy}","received_events_url":"https://api.github.com/users/lognaturel/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T19:12:55Z","updated_at":"2018-04-11T19:12:55Z","author_association":"MEMBER","body":"I'm ok marking this as an enhancement but I do think it breaks expectations. The code is simply `this.jumpToIndex(outcome.failedPrompt);` and I don't think the intent was to break up a field list, it's a side effect of jumping to the specific question rather than the containing field list.\r\n\r\nNote that when jumping to a question in the field list after this happens you're back in the field list. When the constraint message is shown when swiping away from a field list, it's also unclear which question caused the toast. I've filed that in #2118 and perhaps we can start by coming up with a good UI change for that and then address this one."}}
{"actor":{"display_login":"lognaturel"}}