{"action":"closed","issue":{"url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1412","labels_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1412/labels{/name}","comments_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1412/comments","events_url":"https://api.github.com/repos/Atlantic18/DoctrineExtensions/issues/1412/events","html_url":"https://github.com/Atlantic18/DoctrineExtensions/issues/1412","id":107365061,"number":1412,"title":"Reference Integrity mappedBy field null","user":{"login":"akd3vs","id":1646108,"avatar_url":"https://avatars.githubusercontent.com/u/1646108?v=3","gravatar_id":"","url":"https://api.github.com/users/akd3vs","html_url":"https://github.com/akd3vs","followers_url":"https://api.github.com/users/akd3vs/followers","following_url":"https://api.github.com/users/akd3vs/following{/other_user}","gists_url":"https://api.github.com/users/akd3vs/gists{/gist_id}","starred_url":"https://api.github.com/users/akd3vs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akd3vs/subscriptions","organizations_url":"https://api.github.com/users/akd3vs/orgs","repos_url":"https://api.github.com/users/akd3vs/repos","events_url":"https://api.github.com/users/akd3vs/events{/privacy}","received_events_url":"https://api.github.com/users/akd3vs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-20T01:03:29Z","updated_at":"2015-09-20T18:22:37Z","closed_at":"2015-09-20T18:22:37Z","body":"Is it supported that the mappendBy field is null?\r\n\r\nWhen I try to remove a Document, it tries to pull out the reference of that Document from the parent (in my case the mappendBy field).\r\n\r\nThis is my Document:\r\n\r\n```\r\n     /**\r\n     * @MongoDB\\ReferenceOne(targetDocument=\"Intranet\\CategoryBundle\\Document\\Mycategory\", cascade={\"persist\"}, mappedBy=\"children\")\r\n     * @Gedmo\\ReferenceIntegrity(\"pull\")\r\n     */\r\n    protected $parent;\r\n\r\n    /**\r\n     * @MongoDB\\ReferenceMany(name=\"children\", targetDocument=\"Intranet\\CategoryBundle\\Document\\Mycategory\", cascade={\"persist\", \"remove\"}, inversedBy=\"parent\", nullable=true)\r\n     */\r\n    protected $children;\r\n```\r\n\r\nIf it is a bug, I'm interested in doing a PR.\r\n\r\nThank you."}}