{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/Vellum/issues/463","labels_url":"https://api.github.com/repos/dimagi/Vellum/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/Vellum/issues/463/comments","events_url":"https://api.github.com/repos/dimagi/Vellum/issues/463/events","html_url":"https://github.com/dimagi/Vellum/pull/463","id":91043804,"number":463,"title":"Fix no placeholder","user":{"login":"emord","id":1471773,"avatar_url":"https://avatars.githubusercontent.com/u/1471773?v=3","gravatar_id":"","url":"https://api.github.com/users/emord","html_url":"https://github.com/emord","followers_url":"https://api.github.com/users/emord/followers","following_url":"https://api.github.com/users/emord/following{/other_user}","gists_url":"https://api.github.com/users/emord/gists{/gist_id}","starred_url":"https://api.github.com/users/emord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emord/subscriptions","organizations_url":"https://api.github.com/users/emord/orgs","repos_url":"https://api.github.com/users/emord/repos","events_url":"https://api.github.com/users/emord/events{/privacy}","received_events_url":"https://api.github.com/users/emord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T18:40:48Z","updated_at":"2015-06-25T19:17:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/Vellum/pulls/463","html_url":"https://github.com/dimagi/Vellum/pull/463","diff_url":"https://github.com/dimagi/Vellum/pull/463.diff","patch_url":"https://github.com/dimagi/Vellum/pull/463.patch"},"body":"The bug:\r\nThe non-default language is given in the langs array first\r\nThere is no constraint message (or if there is, there is no hint message or help message, etc)\r\nThe `constraintMsg` will have an `ItextItem`, but the value will be `undefined`.\r\nIf it's the default language it will be set to `nodeID || \"\"`.\r\nIf it's not the default language it will be set to `ItextValue` which is `undefined`\r\nThis then trickles down to markdown which expects a string and not undefined.\r\n\r\nhttps://github.com/dimagi/Vellum/blob/bec373a/src/javaRosa.js#L953-L978\r\n\r\nIn the old javarosa before #458 itext the value was guaranteed to be set to a string. \r\n\r\ncc: @biyeun "},"comment":{"url":"https://api.github.com/repos/dimagi/Vellum/issues/comments/115368142","html_url":"https://github.com/dimagi/Vellum/pull/463#issuecomment-115368142","issue_url":"https://api.github.com/repos/dimagi/Vellum/issues/463","id":115368142,"user":{"login":"orangejenny","id":1486591,"avatar_url":"https://avatars.githubusercontent.com/u/1486591?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejenny","html_url":"https://github.com/orangejenny","followers_url":"https://api.github.com/users/orangejenny/followers","following_url":"https://api.github.com/users/orangejenny/following{/other_user}","gists_url":"https://api.github.com/users/orangejenny/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejenny/subscriptions","organizations_url":"https://api.github.com/users/orangejenny/orgs","repos_url":"https://api.github.com/users/orangejenny/repos","events_url":"https://api.github.com/users/orangejenny/events{/privacy}","received_events_url":"https://api.github.com/users/orangejenny/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T19:17:43Z","updated_at":"2015-06-25T19:17:43Z","body":"looks good once tests pass"}}