{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/223","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/223/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/223/events","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/223","id":103287021,"number":223,"title":"[#102066014] More required declaration answers","user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-26T14:46:41Z","updated_at":"2015-08-27T15:38:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/pulls/223","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/223","diff_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/223.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/223.patch"},"body":"See: https://www.pivotaltracker.com/story/show/102066014\r\n\r\nFollowing discussions with CCS these fields are now required in the declaration: SQ1-1b, SQ1-1d-i, SQ1-1d-ii, SQ1-1e\r\n\r\nSQ1-1b wasn't optional before anyway, but the other three were and this makes them required.\r\n\r\nAlso fixes a small validation bug - previously using `if not ...` on the `SQ5-2a` field returned true for either `None` or `False`, but the required fields should only be added to the errors for the `False` case, and not for the `None` case.  So using `is False` is the right test."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/comments/135471998","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/223#issuecomment-135471998","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/223","id":135471998,"user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T15:38:54Z","updated_at":"2015-08-27T15:38:54Z","body":"Rebased and just waiting for Travis..."}}