{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/26630","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/26630/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/26630/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/26630/events","html_url":"https://github.com/symfony/symfony/issues/26630","id":307532385,"number":26630,"title":"[DependencyInjection][Bug] Cryptic service name with anonymous service as argument","user":{"login":"dkarlovi","id":209225,"avatar_url":"https://avatars3.githubusercontent.com/u/209225?v=4","gravatar_id":"","url":"https://api.github.com/users/dkarlovi","html_url":"https://github.com/dkarlovi","followers_url":"https://api.github.com/users/dkarlovi/followers","following_url":"https://api.github.com/users/dkarlovi/following{/other_user}","gists_url":"https://api.github.com/users/dkarlovi/gists{/gist_id}","starred_url":"https://api.github.com/users/dkarlovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkarlovi/subscriptions","organizations_url":"https://api.github.com/users/dkarlovi/orgs","repos_url":"https://api.github.com/users/dkarlovi/repos","events_url":"https://api.github.com/users/dkarlovi/events{/privacy}","received_events_url":"https://api.github.com/users/dkarlovi/received_events","type":"User","site_admin":false},"labels":[{"id":100079,"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":99863,"url":"https://api.github.com/repos/symfony/symfony/labels/DependencyInjection","name":"DependencyInjection","color":"DDDDDD","default":false},{"id":237003792,"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed","default":false},{"id":520300257,"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Waiting%20feedback","name":"Status: Waiting feedback","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-22T07:26:37Z","updated_at":"2018-03-28T13:37:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"| Q                | A\r\n| ---------------- | -----\r\n| Bug report?      | yes\r\n| Feature request? | no\r\n| BC Break report? | no\r\n| RFC?             | no\r\n| Symfony version  | 4.0\r\n\r\nWhile working around #26629, I moved my service into a separate file, like this:\r\n\r\n```\r\n    <services>\r\n        <service parent=\"liip_imagine.imagick\" id=\"image.imagine\">\r\n            <call method=\"setMetadataReader\">\r\n                <argument type=\"service\">\r\n                    <service id=\"App\\Infrastructure\\Imagine\\Metadata\\ExifMetadataReader\" lazy=\"true\"/>\r\n                </argument>\r\n            </call>\r\n        </service>\r\n    </services>\r\n```\r\n\r\nThis produces a very cryptic error (note the name, also the class is not set, but the ID is):\r\n```\r\nThe definition for \"1_~t2jBfn7\" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.\r\n```"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/376889531","html_url":"https://github.com/symfony/symfony/issues/26630#issuecomment-376889531","issue_url":"https://api.github.com/repos/symfony/symfony/issues/26630","id":376889531,"user":{"login":"dkarlovi","id":209225,"avatar_url":"https://avatars3.githubusercontent.com/u/209225?v=4","gravatar_id":"","url":"https://api.github.com/users/dkarlovi","html_url":"https://github.com/dkarlovi","followers_url":"https://api.github.com/users/dkarlovi/followers","following_url":"https://api.github.com/users/dkarlovi/following{/other_user}","gists_url":"https://api.github.com/users/dkarlovi/gists{/gist_id}","starred_url":"https://api.github.com/users/dkarlovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkarlovi/subscriptions","organizations_url":"https://api.github.com/users/dkarlovi/orgs","repos_url":"https://api.github.com/users/dkarlovi/repos","events_url":"https://api.github.com/users/dkarlovi/events{/privacy}","received_events_url":"https://api.github.com/users/dkarlovi/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:37:47Z","updated_at":"2018-03-28T13:37:47Z","author_association":"CONTRIBUTOR","body":"@xabbuh I haven't forgotten to do it, just waiting for the month to roll over to free up some time :)"}}
{"actor":{"display_login":"dkarlovi"}}