{"action":"closed","issue":{"url":"https://api.github.com/repos/eileenmcnaughton/org.civicrm.multisite/issues/1","labels_url":"https://api.github.com/repos/eileenmcnaughton/org.civicrm.multisite/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/eileenmcnaughton/org.civicrm.multisite/issues/1/comments","events_url":"https://api.github.com/repos/eileenmcnaughton/org.civicrm.multisite/issues/1/events","html_url":"https://github.com/eileenmcnaughton/org.civicrm.multisite/issues/1","id":60145468,"number":1,"title":"formValidate doesn't remove requirement for parent group in Civi 4.5","user":{"login":"PalanteJon","id":1796012,"avatar_url":"https://avatars.githubusercontent.com/u/1796012?v=3","gravatar_id":"","url":"https://api.github.com/users/PalanteJon","html_url":"https://github.com/PalanteJon","followers_url":"https://api.github.com/users/PalanteJon/followers","following_url":"https://api.github.com/users/PalanteJon/following{/other_user}","gists_url":"https://api.github.com/users/PalanteJon/gists{/gist_id}","starred_url":"https://api.github.com/users/PalanteJon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PalanteJon/subscriptions","organizations_url":"https://api.github.com/users/PalanteJon/orgs","repos_url":"https://api.github.com/users/PalanteJon/repos","events_url":"https://api.github.com/users/PalanteJon/events{/privacy}","received_events_url":"https://api.github.com/users/PalanteJon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T19:17:55Z","updated_at":"2015-07-31T09:07:49Z","closed_at":"2015-07-31T09:07:49Z","body":"[Note to Eileen:  I know this isn't your problem if I'm not paying you!  I'm going to try to make time to write this patch myself, but I wanted to report this as a known issue for you or anyone else who comes across it.]\r\n\r\nIn Civi 4.5, the group \"settings\" page comes up in a snippet, which handles validation client-side - so hook_formValidate never fires.  So editing a group with this extension installed throws a validation error if you try to save a group without setting a parent.\r\n\r\nThe workaround is to open group settings in a new tab - the long-term fix is to call hook_buildForm instead of hook_formValidate to unset the parent group being required."}}