{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/doctrine2/issues/6939","repository_url":"https://api.github.com/repos/doctrine/doctrine2","labels_url":"https://api.github.com/repos/doctrine/doctrine2/issues/6939/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/issues/6939/comments","events_url":"https://api.github.com/repos/doctrine/doctrine2/issues/6939/events","html_url":"https://github.com/doctrine/doctrine2/issues/6939","id":284544181,"number":6939,"title":"Error for delete query without alias since 2.6.0","user":{"login":"dmaicher","id":921145,"avatar_url":"https://avatars3.githubusercontent.com/u/921145?v=4","gravatar_id":"","url":"https://api.github.com/users/dmaicher","html_url":"https://github.com/dmaicher","followers_url":"https://api.github.com/users/dmaicher/followers","following_url":"https://api.github.com/users/dmaicher/following{/other_user}","gists_url":"https://api.github.com/users/dmaicher/gists{/gist_id}","starred_url":"https://api.github.com/users/dmaicher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmaicher/subscriptions","organizations_url":"https://api.github.com/users/dmaicher/orgs","repos_url":"https://api.github.com/users/dmaicher/repos","events_url":"https://api.github.com/users/dmaicher/events{/privacy}","received_events_url":"https://api.github.com/users/dmaicher/received_events","type":"User","site_admin":false},"labels":[{"id":408001692,"url":"https://api.github.com/repos/doctrine/doctrine2/labels/BC%20Break","name":"BC Break","color":"b60205","default":false},{"id":296201252,"url":"https://api.github.com/repos/doctrine/doctrine2/labels/Bug","name":"Bug","color":"e11d21","default":false},{"id":308741792,"url":"https://api.github.com/repos/doctrine/doctrine2/labels/Regression","name":"Regression","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":{"login":"lcobucci","id":201963,"avatar_url":"https://avatars2.githubusercontent.com/u/201963?v=4","gravatar_id":"","url":"https://api.github.com/users/lcobucci","html_url":"https://github.com/lcobucci","followers_url":"https://api.github.com/users/lcobucci/followers","following_url":"https://api.github.com/users/lcobucci/following{/other_user}","gists_url":"https://api.github.com/users/lcobucci/gists{/gist_id}","starred_url":"https://api.github.com/users/lcobucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcobucci/subscriptions","organizations_url":"https://api.github.com/users/lcobucci/orgs","repos_url":"https://api.github.com/users/lcobucci/repos","events_url":"https://api.github.com/users/lcobucci/events{/privacy}","received_events_url":"https://api.github.com/users/lcobucci/received_events","type":"User","site_admin":false},"assignees":[{"login":"lcobucci","id":201963,"avatar_url":"https://avatars2.githubusercontent.com/u/201963?v=4","gravatar_id":"","url":"https://api.github.com/users/lcobucci","html_url":"https://github.com/lcobucci","followers_url":"https://api.github.com/users/lcobucci/followers","following_url":"https://api.github.com/users/lcobucci/following{/other_user}","gists_url":"https://api.github.com/users/lcobucci/gists{/gist_id}","starred_url":"https://api.github.com/users/lcobucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcobucci/subscriptions","organizations_url":"https://api.github.com/users/lcobucci/orgs","repos_url":"https://api.github.com/users/lcobucci/repos","events_url":"https://api.github.com/users/lcobucci/events{/privacy}","received_events_url":"https://api.github.com/users/lcobucci/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/doctrine/doctrine2/milestones/65","html_url":"https://github.com/doctrine/doctrine2/milestone/65","labels_url":"https://api.github.com/repos/doctrine/doctrine2/milestones/65/labels","id":2805106,"number":65,"title":"2.6.1","description":"","creator":{"login":"lcobucci","id":201963,"avatar_url":"https://avatars2.githubusercontent.com/u/201963?v=4","gravatar_id":"","url":"https://api.github.com/users/lcobucci","html_url":"https://github.com/lcobucci","followers_url":"https://api.github.com/users/lcobucci/followers","following_url":"https://api.github.com/users/lcobucci/following{/other_user}","gists_url":"https://api.github.com/users/lcobucci/gists{/gist_id}","starred_url":"https://api.github.com/users/lcobucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcobucci/subscriptions","organizations_url":"https://api.github.com/users/lcobucci/orgs","repos_url":"https://api.github.com/users/lcobucci/repos","events_url":"https://api.github.com/users/lcobucci/events{/privacy}","received_events_url":"https://api.github.com/users/lcobucci/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":13,"state":"open","created_at":"2017-10-01T12:31:55Z","updated_at":"2018-02-19T11:29:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-12-26T11:52:14Z","updated_at":"2018-02-19T11:29:51Z","closed_at":"2018-02-19T11:29:46Z","author_association":"NONE","body":"This used to work with `2.5.x`:\r\n\r\n```php\r\n$em->createQueryBuilder()\r\n    ->delete(MyEntity::class)\r\n    ->getQuery()\r\n    ->execute();\r\n```\r\n\r\nNow with `2.6.0` I get this error:\r\n\r\n```\r\n[Syntax Error] line 0, col -1: Error: Expected Doctrine\\ORM\\Query\\Lexer::T_IDENTIFIER, got end of string. (Doctrine\\ORM\\Query\\QueryException)\r\n```\r\n\r\nIf I add an alias it works again:\r\n\r\n```php\r\n$em->createQueryBuilder()\r\n    ->delete(MyEntity::class, 'e')\r\n    ->getQuery()\r\n    ->execute();\r\n```\r\n\r\nIs this BC break intentional?"},"comment":{"url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments/366662579","html_url":"https://github.com/doctrine/doctrine2/issues/6939#issuecomment-366662579","issue_url":"https://api.github.com/repos/doctrine/doctrine2/issues/6939","id":366662579,"user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T11:29:51Z","updated_at":"2018-02-19T11:29:51Z","author_association":"OWNER","body":"Handled in #7077"}}
{"actor":{"display_login":"Ocramius"}}