{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/504","repository_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle","labels_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/504/comments","events_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/504/events","html_url":"https://github.com/doctrine/DoctrineMongoDBBundle/issues/504","id":385591822,"node_id":"MDU6SXNzdWUzODU1OTE4MjI=","number":504,"title":"Call to a member function getUnitOfWork() on null when using ServiceDocumentRepository in Symfony 4","user":{"login":"adityarai","id":1521692,"node_id":"MDQ6VXNlcjE1MjE2OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1521692?v=4","gravatar_id":"","url":"https://api.github.com/users/adityarai","html_url":"https://github.com/adityarai","followers_url":"https://api.github.com/users/adityarai/followers","following_url":"https://api.github.com/users/adityarai/following{/other_user}","gists_url":"https://api.github.com/users/adityarai/gists{/gist_id}","starred_url":"https://api.github.com/users/adityarai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityarai/subscriptions","organizations_url":"https://api.github.com/users/adityarai/orgs","repos_url":"https://api.github.com/users/adityarai/repos","events_url":"https://api.github.com/users/adityarai/events{/privacy}","received_events_url":"https://api.github.com/users/adityarai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-29T06:43:14Z","updated_at":"2018-11-29T09:06:50Z","closed_at":null,"author_association":"NONE","body":"`<?php\r\n\r\nnamespace App\\Repository;\r\n\r\nuse App\\Document\\HtmlView;\r\nuse Doctrine\\Bundle\\MongoDBBundle\\Repository\\ServiceDocumentRepository;\r\nuse Symfony\\Bridge\\Doctrine\\RegistryInterface;\r\n\r\n/**\r\n * @method HtmlView|null find($id, $lockMode = null, $lockVersion = null)\r\n * @method HtmlView|null findOneBy(array $criteria, array $orderBy = null)\r\n * @method HtmlView[]    findAll()\r\n * @method HtmlView[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)\r\n */\r\nclass HtmlViewRepository extends ServiceDocumentRepository\r\n{\r\n    public function __construct(RegistryInterface $registry)\r\n    {\r\n        parent::__construct($registry, HtmlView::class);\r\n    }\r\n}\r\n`"},"comment":{"url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/comments/442758362","html_url":"https://github.com/doctrine/DoctrineMongoDBBundle/issues/504#issuecomment-442758362","issue_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/504","id":442758362,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjc1ODM2Mg==","user":{"login":"stof","id":439401,"node_id":"MDQ6VXNlcjQzOTQwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/439401?v=4","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T09:06:50Z","updated_at":"2018-11-29T09:06:50Z","author_association":"MEMBER","body":"@adityarai FYI, a much better way to provide the stack trace in a bug report is to switch to the `Stack Trace` tab on that error page, which provides the stack trace in a plain-text format (which can be copy-pasted in the issue)"}}
{"actor":{"display_login":"stof"}}