{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/2476","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/2476/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/2476/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/2476/events","html_url":"https://github.com/strongloop/loopback/issues/2476","id":162622949,"number":2476,"title":"DELETE on a related item doesn't return anything","user":{"login":"hgouveia","id":668866,"avatar_url":"https://avatars.githubusercontent.com/u/668866?v=3","gravatar_id":"","url":"https://api.github.com/users/hgouveia","html_url":"https://github.com/hgouveia","followers_url":"https://api.github.com/users/hgouveia/followers","following_url":"https://api.github.com/users/hgouveia/following{/other_user}","gists_url":"https://api.github.com/users/hgouveia/gists{/gist_id}","starred_url":"https://api.github.com/users/hgouveia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgouveia/subscriptions","organizations_url":"https://api.github.com/users/hgouveia/orgs","repos_url":"https://api.github.com/users/hgouveia/repos","events_url":"https://api.github.com/users/hgouveia/events{/privacy}","received_events_url":"https://api.github.com/users/hgouveia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/triage","name":"triage","color":"eb6420"},{"url":"https://api.github.com/repos/strongloop/loopback/labels/waiting","name":"waiting","color":"eeeeee"}],"state":"open","locked":false,"assignee":{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false},"assignees":[{"login":"jannyHou","id":12554153,"avatar_url":"https://avatars.githubusercontent.com/u/12554153?v=3","gravatar_id":"","url":"https://api.github.com/users/jannyHou","html_url":"https://github.com/jannyHou","followers_url":"https://api.github.com/users/jannyHou/followers","following_url":"https://api.github.com/users/jannyHou/following{/other_user}","gists_url":"https://api.github.com/users/jannyHou/gists{/gist_id}","starred_url":"https://api.github.com/users/jannyHou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannyHou/subscriptions","organizations_url":"https://api.github.com/users/jannyHou/orgs","repos_url":"https://api.github.com/users/jannyHou/repos","events_url":"https://api.github.com/users/jannyHou/events{/privacy}","received_events_url":"https://api.github.com/users/jannyHou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-06-28T07:47:40Z","updated_at":"2016-07-14T16:23:10Z","closed_at":null,"body":"when i do ```DELETE /api/modela/id/modelb/fk``` , the response is status 204  with empty body content, and should be ```{ count : 1 }``` like normal DELETE operation in anothers endpoints\r\n\r\nthis happend to me on mongodb 3.2 , using lastest connector, lastest loopback 2.29.0"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/232716476","html_url":"https://github.com/strongloop/loopback/issues/2476#issuecomment-232716476","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/2476","id":232716476,"user":{"login":"hgouveia","id":668866,"avatar_url":"https://avatars.githubusercontent.com/u/668866?v=3","gravatar_id":"","url":"https://api.github.com/users/hgouveia","html_url":"https://github.com/hgouveia","followers_url":"https://api.github.com/users/hgouveia/followers","following_url":"https://api.github.com/users/hgouveia/following{/other_user}","gists_url":"https://api.github.com/users/hgouveia/gists{/gist_id}","starred_url":"https://api.github.com/users/hgouveia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgouveia/subscriptions","organizations_url":"https://api.github.com/users/hgouveia/orgs","repos_url":"https://api.github.com/users/hgouveia/repos","events_url":"https://api.github.com/users/hgouveia/events{/privacy}","received_events_url":"https://api.github.com/users/hgouveia/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T16:23:10Z","updated_at":"2016-07-14T16:23:10Z","body":"@jannyHou , this is the fork https://github.com/hgouveia/loopback-sandbox , i already added some migration in the code to ease the process, \r\n\r\nto reproduce, please run the server, go to the explorer, and try to delete a comment from a post \r\n\r\n*Step 1*\r\n![screenshot 57](https://cloud.githubusercontent.com/assets/668866/16847163/ec234b56-49ef-11e6-815a-696626557161.jpg)\r\n\r\n*Step 2*\r\n![screenshot 58](https://cloud.githubusercontent.com/assets/668866/16847168/f0a040da-49ef-11e6-9b9a-9623a7d81b45.jpg)\r\n\r\n*Step 3*\r\n![screenshot 59](https://cloud.githubusercontent.com/assets/668866/16847178/fea26dc0-49ef-11e6-87cf-099c4df71645.jpg)\r\n\r\n"}}
{"actor":{"display_login":"hgouveia"}}