{"action":"created","issue":{"url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/2","repository_url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips","labels_url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/2/comments","events_url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/2/events","html_url":"https://github.com/DonnOMalley/OnlinePermissionSlips/issues/2","id":349183029,"node_id":"MDU6SXNzdWUzNDkxODMwMjk=","number":2,"title":"SysAdmin Can't Delete School","user":{"login":"skootchingdog","id":40344102,"node_id":"MDQ6VXNlcjQwMzQ0MTAy","avatar_url":"https://avatars2.githubusercontent.com/u/40344102?v=4","gravatar_id":"","url":"https://api.github.com/users/skootchingdog","html_url":"https://github.com/skootchingdog","followers_url":"https://api.github.com/users/skootchingdog/followers","following_url":"https://api.github.com/users/skootchingdog/following{/other_user}","gists_url":"https://api.github.com/users/skootchingdog/gists{/gist_id}","starred_url":"https://api.github.com/users/skootchingdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skootchingdog/subscriptions","organizations_url":"https://api.github.com/users/skootchingdog/orgs","repos_url":"https://api.github.com/users/skootchingdog/repos","events_url":"https://api.github.com/users/skootchingdog/events{/privacy}","received_events_url":"https://api.github.com/users/skootchingdog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T15:39:16Z","updated_at":"2018-08-22T02:04:00Z","closed_at":null,"author_association":"NONE","body":"Logged in as SA.  Tried to delete school, \r\n The DELETE statement conflicted with the REFERENCE constraint \"FK_ClassRoom_Schools\". The conflict occurred in database \"OnlinePermissionSlip\", table \"dbo.ClassRoom\", column 'SchoolID'.\r\nThe statement has been terminated.\r\nDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.\r\n\r\nException Details: System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint \"FK_ClassRoom_Schools\". The conflict occurred in database \"OnlinePermissionSlip\", table \"dbo.ClassRoom\", column 'SchoolID'.\r\nThe statement has been terminated."},"comment":{"url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/comments/414882421","html_url":"https://github.com/DonnOMalley/OnlinePermissionSlips/issues/2#issuecomment-414882421","issue_url":"https://api.github.com/repos/DonnOMalley/OnlinePermissionSlips/issues/2","id":414882421,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDg4MjQyMQ==","user":{"login":"DonnOMalley","id":1163470,"node_id":"MDQ6VXNlcjExNjM0NzA=","avatar_url":"https://avatars3.githubusercontent.com/u/1163470?v=4","gravatar_id":"","url":"https://api.github.com/users/DonnOMalley","html_url":"https://github.com/DonnOMalley","followers_url":"https://api.github.com/users/DonnOMalley/followers","following_url":"https://api.github.com/users/DonnOMalley/following{/other_user}","gists_url":"https://api.github.com/users/DonnOMalley/gists{/gist_id}","starred_url":"https://api.github.com/users/DonnOMalley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DonnOMalley/subscriptions","organizations_url":"https://api.github.com/users/DonnOMalley/orgs","repos_url":"https://api.github.com/users/DonnOMalley/repos","events_url":"https://api.github.com/users/DonnOMalley/events{/privacy}","received_events_url":"https://api.github.com/users/DonnOMalley/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T02:04:00Z","updated_at":"2018-08-22T02:04:00Z","author_association":"OWNER","body":"Updated Delete to confirm delete and the fact that everything associated with school will also be deleted.\r\nConfirmed I can delete a school, associated students, permission slips, categories, guardians, templates, etc...\r\n\r\nWhat should we do about user (login) accounts that are orphaned as a result of the school being deleted."}}
{"actor":{"display_login":"DonnOMalley"}}