{"action":"created","issue":{"url":"https://api.github.com/repos/18F/api.data.gov/issues/271","labels_url":"https://api.github.com/repos/18F/api.data.gov/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/18F/api.data.gov/issues/271/comments","events_url":"https://api.github.com/repos/18F/api.data.gov/issues/271/events","html_url":"https://github.com/18F/api.data.gov/issues/271","id":103171062,"number":271,"title":"Creating new admin accounts fails in Firefox","user":{"login":"GUI","id":12112,"avatar_url":"https://avatars.githubusercontent.com/u/12112?v=3","gravatar_id":"","url":"https://api.github.com/users/GUI","html_url":"https://github.com/GUI","followers_url":"https://api.github.com/users/GUI/followers","following_url":"https://api.github.com/users/GUI/following{/other_user}","gists_url":"https://api.github.com/users/GUI/gists{/gist_id}","starred_url":"https://api.github.com/users/GUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUI/subscriptions","organizations_url":"https://api.github.com/users/GUI/orgs","repos_url":"https://api.github.com/users/GUI/repos","events_url":"https://api.github.com/users/GUI/events{/privacy}","received_events_url":"https://api.github.com/users/GUI/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/api.data.gov/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-26T04:19:55Z","updated_at":"2015-08-26T21:41:10Z","closed_at":"2015-08-26T21:37:16Z","body":"- In the admin, go to the Users > Admin Accounts and click the \"Add New Admin\" button.\r\n- Fill out a username and select a group for the admin to belong to.\r\n- Click Save.\r\n\r\nIn Chrome and Safari this appears to work as intended. However, in Firefox the save will fail with a validation error claiming that you haven't checked anything for groups:\r\n\r\n```\r\nGroups: must belong to at least one group or be a superuser\r\n```\r\n\r\nIt does look like these form submissions from Firefox are somehow getting submitted with an empty `group_ids` array despite the checkboxes being checked.\r\n\r\nThis has been seen under Firefox 40.0 (Linux) and Firefox 38.2 (Mac).\r\n\r\nWhen we figure out what's going on, we should ensure this isn't also an issue in Internet Explorer, and also verify that this isn't more widespread to to some of our other admin forms that use checkboxes."},"comment":{"url":"https://api.github.com/repos/18F/api.data.gov/issues/comments/135178503","html_url":"https://github.com/18F/api.data.gov/issues/271#issuecomment-135178503","issue_url":"https://api.github.com/repos/18F/api.data.gov/issues/271","id":135178503,"user":{"login":"GUI","id":12112,"avatar_url":"https://avatars.githubusercontent.com/u/12112?v=3","gravatar_id":"","url":"https://api.github.com/users/GUI","html_url":"https://github.com/GUI","followers_url":"https://api.github.com/users/GUI/followers","following_url":"https://api.github.com/users/GUI/following{/other_user}","gists_url":"https://api.github.com/users/GUI/gists{/gist_id}","starred_url":"https://api.github.com/users/GUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GUI/subscriptions","organizations_url":"https://api.github.com/users/GUI/orgs","repos_url":"https://api.github.com/users/GUI/repos","events_url":"https://api.github.com/users/GUI/events{/privacy}","received_events_url":"https://api.github.com/users/GUI/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T21:41:10Z","updated_at":"2015-08-26T21:41:10Z","body":"Oh, and I also did some additional testing in IE11, and things appear to be working fine there. I'm also pretty sure this bug was isolated to just the checkboxes in a couple lists of checkbox in the admins form and admin groups form. Other checkboxes don't look like they were affected."}}