{"action":"created","comment":{"url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/comments/55640455","id":55640455,"diff_hunk":"@@ -255,6 +255,12 @@ public function getConfigTreeBuilder()\n                 ->scalarNode('exit_route')->defaultNull()->end()\n                 ->scalarNode('generator_cache')->defaultNull()->end()\n                 ->scalarNode('default_action_after_save')->defaultValue('edit')->end()\n+                ->arrayNode('doctrine')","path":"DependencyInjection/Configuration.php","position":4,"original_position":4,"commit_id":"dcea62e2b9ce57b9a339547a9a0abafe781f22d1","original_commit_id":"dcea62e2b9ce57b9a339547a9a0abafe781f22d1","user":{"login":"sescandell","id":1559970,"avatar_url":"https://avatars.githubusercontent.com/u/1559970?v=3","gravatar_id":"","url":"https://api.github.com/users/sescandell","html_url":"https://github.com/sescandell","followers_url":"https://api.github.com/users/sescandell/followers","following_url":"https://api.github.com/users/sescandell/following{/other_user}","gists_url":"https://api.github.com/users/sescandell/gists{/gist_id}","starred_url":"https://api.github.com/users/sescandell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sescandell/subscriptions","organizations_url":"https://api.github.com/users/sescandell/orgs","repos_url":"https://api.github.com/users/sescandell/repos","events_url":"https://api.github.com/users/sescandell/events{/privacy}","received_events_url":"https://api.github.com/users/sescandell/received_events","type":"User","site_admin":false},"body":"You need to update the Tesst class too","created_at":"2016-03-10T06:58:47Z","updated_at":"2016-03-10T06:58:47Z","html_url":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268#discussion_r55640455","pull_request_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/comments/55640455"},"html":{"href":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268#discussion_r55640455"},"pull_request":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268","id":61957600,"html_url":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268","diff_url":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268.diff","patch_url":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268.patch","issue_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/268","number":268,"state":"open","locked":false,"title":"Used Doctrine OM for batch removal","user":{"login":"bobvandevijver","id":1835343,"avatar_url":"https://avatars.githubusercontent.com/u/1835343?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvandevijver","html_url":"https://github.com/bobvandevijver","followers_url":"https://api.github.com/users/bobvandevijver/followers","following_url":"https://api.github.com/users/bobvandevijver/following{/other_user}","gists_url":"https://api.github.com/users/bobvandevijver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvandevijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvandevijver/subscriptions","organizations_url":"https://api.github.com/users/bobvandevijver/orgs","repos_url":"https://api.github.com/users/bobvandevijver/repos","events_url":"https://api.github.com/users/bobvandevijver/events{/privacy}","received_events_url":"https://api.github.com/users/bobvandevijver/received_events","type":"User","site_admin":false},"body":"When batch deleting entities, a direct query on the database is used. In Doctrine environments which do not allow the `DELETE` command on the database, it is not possible to use the batch delete command, while the single delete works fine. \r\n\r\nThis is due to the fact that soft-deletables register on the `onFlush` event. There might even be more listeners that listen on object deletion, which are not executed with the current code. This PR should solve this for Doctrine. \r\n\r\nI have no clue how this might work in DoctrineODM or Propel, so I've only adjusted the Doctrine code.","created_at":"2016-03-07T18:19:27Z","updated_at":"2016-03-10T06:58:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6a737a4a67948ad6813fa2bb47516346c30f5b0","assignee":{"login":"bobvandevijver","id":1835343,"avatar_url":"https://avatars.githubusercontent.com/u/1835343?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvandevijver","html_url":"https://github.com/bobvandevijver","followers_url":"https://api.github.com/users/bobvandevijver/followers","following_url":"https://api.github.com/users/bobvandevijver/following{/other_user}","gists_url":"https://api.github.com/users/bobvandevijver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvandevijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvandevijver/subscriptions","organizations_url":"https://api.github.com/users/bobvandevijver/orgs","repos_url":"https://api.github.com/users/bobvandevijver/repos","events_url":"https://api.github.com/users/bobvandevijver/events{/privacy}","received_events_url":"https://api.github.com/users/bobvandevijver/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/milestones/3","html_url":"https://github.com/symfony2admingenerator/GeneratorBundle/milestones/v2.1","labels_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/milestones/3/labels","id":1619664,"number":3,"title":"v2.1","description":"Issues that should be solved in v2.1.","creator":{"login":"bobvandevijver","id":1835343,"avatar_url":"https://avatars.githubusercontent.com/u/1835343?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvandevijver","html_url":"https://github.com/bobvandevijver","followers_url":"https://api.github.com/users/bobvandevijver/followers","following_url":"https://api.github.com/users/bobvandevijver/following{/other_user}","gists_url":"https://api.github.com/users/bobvandevijver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvandevijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvandevijver/subscriptions","organizations_url":"https://api.github.com/users/bobvandevijver/orgs","repos_url":"https://api.github.com/users/bobvandevijver/repos","events_url":"https://api.github.com/users/bobvandevijver/events{/privacy}","received_events_url":"https://api.github.com/users/bobvandevijver/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2016-03-03T09:06:16Z","updated_at":"2016-03-09T22:36:54Z","due_on":"2016-03-31T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268/commits","review_comments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268/comments","review_comment_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/268/comments","statuses_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/statuses/dcea62e2b9ce57b9a339547a9a0abafe781f22d1","head":{"label":"symfony2admingenerator:doctrine-om-batch-delete","ref":"doctrine-om-batch-delete","sha":"dcea62e2b9ce57b9a339547a9a0abafe781f22d1","user":{"login":"symfony2admingenerator","id":2056793,"avatar_url":"https://avatars.githubusercontent.com/u/2056793?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony2admingenerator","html_url":"https://github.com/symfony2admingenerator","followers_url":"https://api.github.com/users/symfony2admingenerator/followers","following_url":"https://api.github.com/users/symfony2admingenerator/following{/other_user}","gists_url":"https://api.github.com/users/symfony2admingenerator/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony2admingenerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony2admingenerator/subscriptions","organizations_url":"https://api.github.com/users/symfony2admingenerator/orgs","repos_url":"https://api.github.com/users/symfony2admingenerator/repos","events_url":"https://api.github.com/users/symfony2admingenerator/events{/privacy}","received_events_url":"https://api.github.com/users/symfony2admingenerator/received_events","type":"Organization","site_admin":false},"repo":{"id":22714539,"name":"GeneratorBundle","full_name":"symfony2admingenerator/GeneratorBundle","owner":{"login":"symfony2admingenerator","id":2056793,"avatar_url":"https://avatars.githubusercontent.com/u/2056793?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony2admingenerator","html_url":"https://github.com/symfony2admingenerator","followers_url":"https://api.github.com/users/symfony2admingenerator/followers","following_url":"https://api.github.com/users/symfony2admingenerator/following{/other_user}","gists_url":"https://api.github.com/users/symfony2admingenerator/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony2admingenerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony2admingenerator/subscriptions","organizations_url":"https://api.github.com/users/symfony2admingenerator/orgs","repos_url":"https://api.github.com/users/symfony2admingenerator/repos","events_url":"https://api.github.com/users/symfony2admingenerator/events{/privacy}","received_events_url":"https://api.github.com/users/symfony2admingenerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony2admingenerator/GeneratorBundle","description":"Admingenerator for Symfony. Parse YAML files to build customized backend.","fork":false,"url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle","forks_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/forks","keys_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/teams","hooks_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/hooks","issue_events_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/events{/number}","events_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/events","assignees_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/assignees{/user}","branches_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/branches{/branch}","tags_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/tags","blobs_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/languages","stargazers_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/stargazers","contributors_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/contributors","subscribers_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/subscribers","subscription_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/subscription","commits_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/contents/{+path}","compare_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/merges","archive_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/downloads","issues_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues{/number}","pulls_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/labels{/name}","releases_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/releases{/id}","deployments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/deployments","created_at":"2014-08-07T08:46:32Z","updated_at":"2016-03-08T13:25:10Z","pushed_at":"2016-03-09T23:01:24Z","git_url":"git://github.com/symfony2admingenerator/GeneratorBundle.git","ssh_url":"git@github.com:symfony2admingenerator/GeneratorBundle.git","clone_url":"https://github.com/symfony2admingenerator/GeneratorBundle.git","svn_url":"https://github.com/symfony2admingenerator/GeneratorBundle","homepage":"","size":3114,"stargazers_count":44,"watchers_count":44,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":37,"forks":23,"open_issues":37,"watchers":44,"default_branch":"master"}},"base":{"label":"symfony2admingenerator:master","ref":"master","sha":"3ddaabdb55846bfb1d9ca187200eb5328af7709c","user":{"login":"symfony2admingenerator","id":2056793,"avatar_url":"https://avatars.githubusercontent.com/u/2056793?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony2admingenerator","html_url":"https://github.com/symfony2admingenerator","followers_url":"https://api.github.com/users/symfony2admingenerator/followers","following_url":"https://api.github.com/users/symfony2admingenerator/following{/other_user}","gists_url":"https://api.github.com/users/symfony2admingenerator/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony2admingenerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony2admingenerator/subscriptions","organizations_url":"https://api.github.com/users/symfony2admingenerator/orgs","repos_url":"https://api.github.com/users/symfony2admingenerator/repos","events_url":"https://api.github.com/users/symfony2admingenerator/events{/privacy}","received_events_url":"https://api.github.com/users/symfony2admingenerator/received_events","type":"Organization","site_admin":false},"repo":{"id":22714539,"name":"GeneratorBundle","full_name":"symfony2admingenerator/GeneratorBundle","owner":{"login":"symfony2admingenerator","id":2056793,"avatar_url":"https://avatars.githubusercontent.com/u/2056793?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony2admingenerator","html_url":"https://github.com/symfony2admingenerator","followers_url":"https://api.github.com/users/symfony2admingenerator/followers","following_url":"https://api.github.com/users/symfony2admingenerator/following{/other_user}","gists_url":"https://api.github.com/users/symfony2admingenerator/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony2admingenerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony2admingenerator/subscriptions","organizations_url":"https://api.github.com/users/symfony2admingenerator/orgs","repos_url":"https://api.github.com/users/symfony2admingenerator/repos","events_url":"https://api.github.com/users/symfony2admingenerator/events{/privacy}","received_events_url":"https://api.github.com/users/symfony2admingenerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony2admingenerator/GeneratorBundle","description":"Admingenerator for Symfony. Parse YAML files to build customized backend.","fork":false,"url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle","forks_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/forks","keys_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/teams","hooks_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/hooks","issue_events_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/events{/number}","events_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/events","assignees_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/assignees{/user}","branches_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/branches{/branch}","tags_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/tags","blobs_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/languages","stargazers_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/stargazers","contributors_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/contributors","subscribers_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/subscribers","subscription_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/subscription","commits_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/contents/{+path}","compare_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/merges","archive_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/downloads","issues_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues{/number}","pulls_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/labels{/name}","releases_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/releases{/id}","deployments_url":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/deployments","created_at":"2014-08-07T08:46:32Z","updated_at":"2016-03-08T13:25:10Z","pushed_at":"2016-03-09T23:01:24Z","git_url":"git://github.com/symfony2admingenerator/GeneratorBundle.git","ssh_url":"git@github.com:symfony2admingenerator/GeneratorBundle.git","clone_url":"https://github.com/symfony2admingenerator/GeneratorBundle.git","svn_url":"https://github.com/symfony2admingenerator/GeneratorBundle","homepage":"","size":3114,"stargazers_count":44,"watchers_count":44,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":37,"forks":23,"open_issues":37,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268"},"html":{"href":"https://github.com/symfony2admingenerator/GeneratorBundle/pull/268"},"issue":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/268"},"comments":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/symfony2admingenerator/GeneratorBundle/statuses/dcea62e2b9ce57b9a339547a9a0abafe781f22d1"}}}}