{"action":"created","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/1544","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/1544/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/1544/events","html_url":"https://github.com/torchbox/wagtail/pull/1544","id":96699289,"number":1544,"title":"Page copy uses new fresh instance instead of copied one.","user":{"login":"jordij","id":3124220,"avatar_url":"https://avatars.githubusercontent.com/u/3124220?v=3","gravatar_id":"","url":"https://api.github.com/users/jordij","html_url":"https://github.com/jordij","followers_url":"https://api.github.com/users/jordij/followers","following_url":"https://api.github.com/users/jordij/following{/other_user}","gists_url":"https://api.github.com/users/jordij/gists{/gist_id}","starred_url":"https://api.github.com/users/jordij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordij/subscriptions","organizations_url":"https://api.github.com/users/jordij/orgs","repos_url":"https://api.github.com/users/jordij/repos","events_url":"https://api.github.com/users/jordij/events{/privacy}","received_events_url":"https://api.github.com/users/jordij/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Bug","name":"Bug","color":"ff0000"},{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Needs%20work","name":"Needs work","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"jordij","id":3124220,"avatar_url":"https://avatars.githubusercontent.com/u/3124220?v=3","gravatar_id":"","url":"https://api.github.com/users/jordij","html_url":"https://github.com/jordij","followers_url":"https://api.github.com/users/jordij/followers","following_url":"https://api.github.com/users/jordij/following{/other_user}","gists_url":"https://api.github.com/users/jordij/gists{/gist_id}","starred_url":"https://api.github.com/users/jordij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordij/subscriptions","organizations_url":"https://api.github.com/users/jordij/orgs","repos_url":"https://api.github.com/users/jordij/repos","events_url":"https://api.github.com/users/jordij/events{/privacy}","received_events_url":"https://api.github.com/users/jordij/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/torchbox/wagtail/milestones/9","html_url":"https://github.com/torchbox/wagtail/milestones/1.1","labels_url":"https://api.github.com/repos/torchbox/wagtail/milestones/9/labels","id":861608,"number":9,"title":"1.1","description":"","creator":{"login":"davecranwell","id":352835,"avatar_url":"https://avatars.githubusercontent.com/u/352835?v=3","gravatar_id":"","url":"https://api.github.com/users/davecranwell","html_url":"https://github.com/davecranwell","followers_url":"https://api.github.com/users/davecranwell/followers","following_url":"https://api.github.com/users/davecranwell/following{/other_user}","gists_url":"https://api.github.com/users/davecranwell/gists{/gist_id}","starred_url":"https://api.github.com/users/davecranwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecranwell/subscriptions","organizations_url":"https://api.github.com/users/davecranwell/orgs","repos_url":"https://api.github.com/users/davecranwell/repos","events_url":"https://api.github.com/users/davecranwell/events{/privacy}","received_events_url":"https://api.github.com/users/davecranwell/received_events","type":"User","site_admin":false},"open_issues":108,"closed_issues":63,"state":"open","created_at":"2014-11-11T11:56:09Z","updated_at":"2015-08-26T11:05:18Z","due_on":"2015-08-30T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-07-23T00:39:45Z","updated_at":"2015-08-26T13:03:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/torchbox/wagtail/pulls/1544","html_url":"https://github.com/torchbox/wagtail/pull/1544","diff_url":"https://github.com/torchbox/wagtail/pull/1544.diff","patch_url":"https://github.com/torchbox/wagtail/pull/1544.patch"},"body":"Possible solution to https://github.com/torchbox/wagtail/issues/1543\r\n\r\nCreate a new instance from prepared dict instead of copying the original one. This avoids keeping the foreign keys to parent instances when the copied class is involved in a multiple level inheritance like:\r\n\r\n```\r\nfrom wagtail.wagtailcore.models import Page\r\n\r\nclass CorePage(Page):\r\n    ...\r\n\r\nclass EventPage(CorePage):\r\n    ...\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/comments/135002061","html_url":"https://github.com/torchbox/wagtail/pull/1544#issuecomment-135002061","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/1544","id":135002061,"user":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T13:03:01Z","updated_at":"2015-08-26T13:03:01Z","body":"Looks good :+1: Just a couple of little points above."}}