{"action":"closed","number":484,"pull_request":{"url":"https://api.github.com/repos/libgraviton/graviton/pulls/484","id":83425967,"html_url":"https://github.com/libgraviton/graviton/pull/484","diff_url":"https://github.com/libgraviton/graviton/pull/484.diff","patch_url":"https://github.com/libgraviton/graviton/pull/484.patch","issue_url":"https://api.github.com/repos/libgraviton/graviton/issues/484","number":484,"state":"closed","locked":false,"title":"don't cascade deletes on DELETE","user":{"login":"narcoticfresh","id":245441,"avatar_url":"https://avatars.githubusercontent.com/u/245441?v=3","gravatar_id":"","url":"https://api.github.com/users/narcoticfresh","html_url":"https://github.com/narcoticfresh","followers_url":"https://api.github.com/users/narcoticfresh/followers","following_url":"https://api.github.com/users/narcoticfresh/following{/other_user}","gists_url":"https://api.github.com/users/narcoticfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/narcoticfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narcoticfresh/subscriptions","organizations_url":"https://api.github.com/users/narcoticfresh/orgs","repos_url":"https://api.github.com/users/narcoticfresh/repos","events_url":"https://api.github.com/users/narcoticfresh/events{/privacy}","received_events_url":"https://api.github.com/users/narcoticfresh/received_events","type":"User","site_admin":false},"body":"when we introduced 'new validation', we changed the `PUT` behavior that will not cascade deletes on referenced objects on the record to be updated.\r\n\r\nBut the issue still persists on `DELETE` request. Consider the following flow:\r\n* User takes a /person/customer entity\r\n* Changes `recordOrigin` to `hans` \r\n* `PUT`s it to /person/customer\r\n* `DELETE`s it..\r\n\r\nAll referenced objects will be deleted in that case. In case of /person/customer, luckily this is only `CustomerGroup` at the moment (I observed missing `CustomerGroup`s on public instances and this may be the explanation).\r\n\r\nBut other services which my reference a `ConsultantLocation` or whatever will delete that `ConsultantLocation` - core data gets lost.\r\n\r\nSo we need to fix that..","created_at":"2016-08-31T10:23:16Z","updated_at":"2016-08-31T11:23:40Z","closed_at":"2016-08-31T11:23:40Z","merged_at":"2016-08-31T11:23:40Z","merge_commit_sha":"438364e5eb4af6a0cd15f55f4bc40126af767938","assignee":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"assignees":[{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/libgraviton/graviton/pulls/484/commits","review_comments_url":"https://api.github.com/repos/libgraviton/graviton/pulls/484/comments","review_comment_url":"https://api.github.com/repos/libgraviton/graviton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgraviton/graviton/issues/484/comments","statuses_url":"https://api.github.com/repos/libgraviton/graviton/statuses/92993cb561512a57ce2297ef8ccc06db135bb4e5","head":{"label":"libgraviton:feature/EVO-7166-no-cascading-on-delete","ref":"feature/EVO-7166-no-cascading-on-delete","sha":"92993cb561512a57ce2297ef8ccc06db135bb4e5","user":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"repo":{"id":13440432,"name":"graviton","full_name":"libgraviton/graviton","owner":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgraviton/graviton","description":"A Symfony based framework to generate REST services from JSON service definition files.","fork":false,"url":"https://api.github.com/repos/libgraviton/graviton","forks_url":"https://api.github.com/repos/libgraviton/graviton/forks","keys_url":"https://api.github.com/repos/libgraviton/graviton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgraviton/graviton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgraviton/graviton/teams","hooks_url":"https://api.github.com/repos/libgraviton/graviton/hooks","issue_events_url":"https://api.github.com/repos/libgraviton/graviton/issues/events{/number}","events_url":"https://api.github.com/repos/libgraviton/graviton/events","assignees_url":"https://api.github.com/repos/libgraviton/graviton/assignees{/user}","branches_url":"https://api.github.com/repos/libgraviton/graviton/branches{/branch}","tags_url":"https://api.github.com/repos/libgraviton/graviton/tags","blobs_url":"https://api.github.com/repos/libgraviton/graviton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgraviton/graviton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgraviton/graviton/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgraviton/graviton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgraviton/graviton/statuses/{sha}","languages_url":"https://api.github.com/repos/libgraviton/graviton/languages","stargazers_url":"https://api.github.com/repos/libgraviton/graviton/stargazers","contributors_url":"https://api.github.com/repos/libgraviton/graviton/contributors","subscribers_url":"https://api.github.com/repos/libgraviton/graviton/subscribers","subscription_url":"https://api.github.com/repos/libgraviton/graviton/subscription","commits_url":"https://api.github.com/repos/libgraviton/graviton/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgraviton/graviton/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgraviton/graviton/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgraviton/graviton/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgraviton/graviton/contents/{+path}","compare_url":"https://api.github.com/repos/libgraviton/graviton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgraviton/graviton/merges","archive_url":"https://api.github.com/repos/libgraviton/graviton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgraviton/graviton/downloads","issues_url":"https://api.github.com/repos/libgraviton/graviton/issues{/number}","pulls_url":"https://api.github.com/repos/libgraviton/graviton/pulls{/number}","milestones_url":"https://api.github.com/repos/libgraviton/graviton/milestones{/number}","notifications_url":"https://api.github.com/repos/libgraviton/graviton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgraviton/graviton/labels{/name}","releases_url":"https://api.github.com/repos/libgraviton/graviton/releases{/id}","deployments_url":"https://api.github.com/repos/libgraviton/graviton/deployments","created_at":"2013-10-09T11:26:14Z","updated_at":"2016-04-22T12:49:44Z","pushed_at":"2016-08-31T11:23:41Z","git_url":"git://github.com/libgraviton/graviton.git","ssh_url":"git@github.com:libgraviton/graviton.git","clone_url":"https://github.com/libgraviton/graviton.git","svn_url":"https://github.com/libgraviton/graviton","homepage":"https://gravity-platform-docs.scapp.io","size":6513,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":9,"default_branch":"develop"}},"base":{"label":"libgraviton:develop","ref":"develop","sha":"df7b31cb10a54ec6911beff398c6764c47e46341","user":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"repo":{"id":13440432,"name":"graviton","full_name":"libgraviton/graviton","owner":{"login":"libgraviton","id":4174061,"avatar_url":"https://avatars.githubusercontent.com/u/4174061?v=3","gravatar_id":"","url":"https://api.github.com/users/libgraviton","html_url":"https://github.com/libgraviton","followers_url":"https://api.github.com/users/libgraviton/followers","following_url":"https://api.github.com/users/libgraviton/following{/other_user}","gists_url":"https://api.github.com/users/libgraviton/gists{/gist_id}","starred_url":"https://api.github.com/users/libgraviton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgraviton/subscriptions","organizations_url":"https://api.github.com/users/libgraviton/orgs","repos_url":"https://api.github.com/users/libgraviton/repos","events_url":"https://api.github.com/users/libgraviton/events{/privacy}","received_events_url":"https://api.github.com/users/libgraviton/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgraviton/graviton","description":"A Symfony based framework to generate REST services from JSON service definition files.","fork":false,"url":"https://api.github.com/repos/libgraviton/graviton","forks_url":"https://api.github.com/repos/libgraviton/graviton/forks","keys_url":"https://api.github.com/repos/libgraviton/graviton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgraviton/graviton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgraviton/graviton/teams","hooks_url":"https://api.github.com/repos/libgraviton/graviton/hooks","issue_events_url":"https://api.github.com/repos/libgraviton/graviton/issues/events{/number}","events_url":"https://api.github.com/repos/libgraviton/graviton/events","assignees_url":"https://api.github.com/repos/libgraviton/graviton/assignees{/user}","branches_url":"https://api.github.com/repos/libgraviton/graviton/branches{/branch}","tags_url":"https://api.github.com/repos/libgraviton/graviton/tags","blobs_url":"https://api.github.com/repos/libgraviton/graviton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgraviton/graviton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgraviton/graviton/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgraviton/graviton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgraviton/graviton/statuses/{sha}","languages_url":"https://api.github.com/repos/libgraviton/graviton/languages","stargazers_url":"https://api.github.com/repos/libgraviton/graviton/stargazers","contributors_url":"https://api.github.com/repos/libgraviton/graviton/contributors","subscribers_url":"https://api.github.com/repos/libgraviton/graviton/subscribers","subscription_url":"https://api.github.com/repos/libgraviton/graviton/subscription","commits_url":"https://api.github.com/repos/libgraviton/graviton/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgraviton/graviton/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgraviton/graviton/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgraviton/graviton/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgraviton/graviton/contents/{+path}","compare_url":"https://api.github.com/repos/libgraviton/graviton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgraviton/graviton/merges","archive_url":"https://api.github.com/repos/libgraviton/graviton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgraviton/graviton/downloads","issues_url":"https://api.github.com/repos/libgraviton/graviton/issues{/number}","pulls_url":"https://api.github.com/repos/libgraviton/graviton/pulls{/number}","milestones_url":"https://api.github.com/repos/libgraviton/graviton/milestones{/number}","notifications_url":"https://api.github.com/repos/libgraviton/graviton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgraviton/graviton/labels{/name}","releases_url":"https://api.github.com/repos/libgraviton/graviton/releases{/id}","deployments_url":"https://api.github.com/repos/libgraviton/graviton/deployments","created_at":"2013-10-09T11:26:14Z","updated_at":"2016-04-22T12:49:44Z","pushed_at":"2016-08-31T11:23:41Z","git_url":"git://github.com/libgraviton/graviton.git","ssh_url":"git@github.com:libgraviton/graviton.git","clone_url":"https://github.com/libgraviton/graviton.git","svn_url":"https://github.com/libgraviton/graviton","homepage":"https://gravity-platform-docs.scapp.io","size":6513,"stargazers_count":9,"watchers_count":9,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/libgraviton/graviton/pulls/484"},"html":{"href":"https://github.com/libgraviton/graviton/pull/484"},"issue":{"href":"https://api.github.com/repos/libgraviton/graviton/issues/484"},"comments":{"href":"https://api.github.com/repos/libgraviton/graviton/issues/484/comments"},"review_comments":{"href":"https://api.github.com/repos/libgraviton/graviton/pulls/484/comments"},"review_comment":{"href":"https://api.github.com/repos/libgraviton/graviton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgraviton/graviton/pulls/484/commits"},"statuses":{"href":"https://api.github.com/repos/libgraviton/graviton/statuses/92993cb561512a57ce2297ef8ccc06db135bb4e5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":30,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"hairmare"}}