{"action":"created","issue":{"url":"https://api.github.com/repos/strapi/strapi/issues/795","repository_url":"https://api.github.com/repos/strapi/strapi","labels_url":"https://api.github.com/repos/strapi/strapi/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/strapi/strapi/issues/795/comments","events_url":"https://api.github.com/repos/strapi/strapi/issues/795/events","html_url":"https://github.com/strapi/strapi/issues/795","id":306168893,"number":795,"title":"Hierarchical relation","user":{"login":"arnorhs","id":61151,"avatar_url":"https://avatars1.githubusercontent.com/u/61151?v=4","gravatar_id":"","url":"https://api.github.com/users/arnorhs","html_url":"https://github.com/arnorhs","followers_url":"https://api.github.com/users/arnorhs/followers","following_url":"https://api.github.com/users/arnorhs/following{/other_user}","gists_url":"https://api.github.com/users/arnorhs/gists{/gist_id}","starred_url":"https://api.github.com/users/arnorhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnorhs/subscriptions","organizations_url":"https://api.github.com/users/arnorhs/orgs","repos_url":"https://api.github.com/users/arnorhs/repos","events_url":"https://api.github.com/users/arnorhs/events{/privacy}","received_events_url":"https://api.github.com/users/arnorhs/received_events","type":"User","site_admin":false},"labels":[{"id":749108959,"url":"https://api.github.com/repos/strapi/strapi/labels/priority:%20medium","name":"priority: medium","color":"fbc307","default":false},{"id":834949028,"url":"https://api.github.com/repos/strapi/strapi/labels/status:%20have%20to%20reproduce","name":"status: have to reproduce","color":"077f53","default":false},{"id":267208743,"url":"https://api.github.com/repos/strapi/strapi/labels/type:%20bug%20%F0%9F%90%9B","name":"type: bug 🐛","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"assignees":[{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/strapi/strapi/milestones/13","html_url":"https://github.com/strapi/strapi/milestone/13","labels_url":"https://api.github.com/repos/strapi/strapi/milestones/13/labels","id":3278186,"number":13,"title":"3.0.0-alpha.12.2","description":"","creator":{"login":"lauriejim","id":5716596,"avatar_url":"https://avatars3.githubusercontent.com/u/5716596?v=4","gravatar_id":"","url":"https://api.github.com/users/lauriejim","html_url":"https://github.com/lauriejim","followers_url":"https://api.github.com/users/lauriejim/followers","following_url":"https://api.github.com/users/lauriejim/following{/other_user}","gists_url":"https://api.github.com/users/lauriejim/gists{/gist_id}","starred_url":"https://api.github.com/users/lauriejim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauriejim/subscriptions","organizations_url":"https://api.github.com/users/lauriejim/orgs","repos_url":"https://api.github.com/users/lauriejim/repos","events_url":"https://api.github.com/users/lauriejim/events{/privacy}","received_events_url":"https://api.github.com/users/lauriejim/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":50,"state":"closed","created_at":"2018-04-18T14:27:19Z","updated_at":"2018-05-18T08:53:43Z","due_on":null,"closed_at":"2018-05-18T08:53:43Z"},"comments":5,"created_at":"2018-03-17T16:17:20Z","updated_at":"2018-05-21T12:58:07Z","closed_at":"2018-05-14T11:19:32Z","author_association":"NONE","body":"**Node.js version**:\r\n8.10.0\r\n\r\n**npm version**:\r\n5.6.0\r\n\r\n**Strapi version**:\r\n3.0.0-alpha.11.1\r\n\r\n**Operating system**:\r\nubuntu 16 LTS\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nbug\r\n\r\n**What is the current behavior?**\r\nwhen i add a relation on an existing content type referencing the same content type, the server fails to restart.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce the problem**\r\n1. create a content type\r\n2. save it with a field\r\n3. edit the content type again\r\n4. add a relation field called \"parent\" with a many-to-1 relationship with the same content type\r\n5. save\r\n\r\nafter this the server never restarts and my console just says \r\n[2018-03-17T16:16:51.603Z] error Something went wrong in the model `Categories` with the attribute `parent`\r\n[2018-03-17T16:16:51.607Z] error Cannot read property 'nature' of undefined\r\n\r\n**What is the expected behavior?**\r\nserver restarts and content type works as expected"},"comment":{"url":"https://api.github.com/repos/strapi/strapi/issues/comments/390646429","html_url":"https://github.com/strapi/strapi/issues/795#issuecomment-390646429","issue_url":"https://api.github.com/repos/strapi/strapi/issues/795","id":390646429,"user":{"login":"arnorhs","id":61151,"avatar_url":"https://avatars1.githubusercontent.com/u/61151?v=4","gravatar_id":"","url":"https://api.github.com/users/arnorhs","html_url":"https://github.com/arnorhs","followers_url":"https://api.github.com/users/arnorhs/followers","following_url":"https://api.github.com/users/arnorhs/following{/other_user}","gists_url":"https://api.github.com/users/arnorhs/gists{/gist_id}","starred_url":"https://api.github.com/users/arnorhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnorhs/subscriptions","organizations_url":"https://api.github.com/users/arnorhs/orgs","repos_url":"https://api.github.com/users/arnorhs/repos","events_url":"https://api.github.com/users/arnorhs/events{/privacy}","received_events_url":"https://api.github.com/users/arnorhs/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T12:58:07Z","updated_at":"2018-05-21T12:58:07Z","author_association":"NONE","body":"Hey there, no I had some desperate attempt at looking at it, but I wasn't familiar with the structure of strapi yet, so I got nowhere.\r\n\r\nI just tried on the latest version of strapi and the issue seems to be resolved, and this ticket is closed, so I'm happy! Thanks!"}}
{"actor":{"display_login":"arnorhs"}}