{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13543","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13543/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13543/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13543/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/13543","id":367936155,"node_id":"MDU6SXNzdWUzNjc5MzYxNTU=","number":13543,"title":"Unable to load navigation property when i attach the main entity in another DbContext  ","user":{"login":"rajeevsoni","id":7387388,"node_id":"MDQ6VXNlcjczODczODg=","avatar_url":"https://avatars3.githubusercontent.com/u/7387388?v=4","gravatar_id":"","url":"https://api.github.com/users/rajeevsoni","html_url":"https://github.com/rajeevsoni","followers_url":"https://api.github.com/users/rajeevsoni/followers","following_url":"https://api.github.com/users/rajeevsoni/following{/other_user}","gists_url":"https://api.github.com/users/rajeevsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeevsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeevsoni/subscriptions","organizations_url":"https://api.github.com/users/rajeevsoni/orgs","repos_url":"https://api.github.com/users/rajeevsoni/repos","events_url":"https://api.github.com/users/rajeevsoni/events{/privacy}","received_events_url":"https://api.github.com/users/rajeevsoni/received_events","type":"User","site_admin":false},"labels":[{"id":936619505,"node_id":"MDU6TGFiZWw5MzY2MTk1MDU=","url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/labels/customer-reported","name":"customer-reported","color":"a4a5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-08T20:12:46Z","updated_at":"2018-10-10T16:49:13Z","closed_at":null,"author_association":"NONE","body":"Not able to load navigation property.\r\n\r\n### Steps to reproduce\r\nhaving a self referencing entity of the below structure.\r\n\r\nPost\r\n{\r\nComment(list)\r\n}\r\n\r\nComment\r\n{\r\nComment (list) \r\n}\r\n\r\nI have fetched a Post from 1 method and have included only 1st level of comments.\r\nNow i have passed the Post to separate method for some updation on its childs.\r\nNow in the new method i have a new dbContext n i have attached \"Post\" i.e. DbContext.Attach(Post);\r\nand using below statement  \r\nawait DbContext.Entry(Post).Reference(x => x.Comment).LoadAsync();\r\n//this is already loaded as i have included 1st level of comments already.\r\n\r\nbut  \r\nawait DbContext.Entry(Comment).Reference(x => x.Comment).LoadAsync();\r\nthis s not loading further child.\r\n\r\nEF Core version: 2\r\nDatabase Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)\r\nOperating system: Windows 10\r\nIDE: (e.g. Visual Studio 2017 15.4)\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/comments/428646783","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/13543#issuecomment-428646783","issue_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13543","id":428646783,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODY0Njc4Mw==","user":{"login":"rajeevsoni","id":7387388,"node_id":"MDQ6VXNlcjczODczODg=","avatar_url":"https://avatars3.githubusercontent.com/u/7387388?v=4","gravatar_id":"","url":"https://api.github.com/users/rajeevsoni","html_url":"https://github.com/rajeevsoni","followers_url":"https://api.github.com/users/rajeevsoni/followers","following_url":"https://api.github.com/users/rajeevsoni/following{/other_user}","gists_url":"https://api.github.com/users/rajeevsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeevsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeevsoni/subscriptions","organizations_url":"https://api.github.com/users/rajeevsoni/orgs","repos_url":"https://api.github.com/users/rajeevsoni/repos","events_url":"https://api.github.com/users/rajeevsoni/events{/privacy}","received_events_url":"https://api.github.com/users/rajeevsoni/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T16:49:13Z","updated_at":"2018-10-10T16:49:13Z","author_association":"NONE","body":"@ajcvickers \r\nNo, there will always be a root area with ParentAreaId = null"}}
{"actor":{"display_login":"rajeevsoni"}}