{"action":"created","issue":{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/517","labels_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/517/comments","events_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/517/events","html_url":"https://github.com/angular-gantt/angular-gantt/issues/517","id":109998930,"number":517,"title":"Crash of web site when call two items with the same name and it has the same children.","user":{"login":"MartinBodocky","id":3715380,"avatar_url":"https://avatars.githubusercontent.com/u/3715380?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinBodocky","html_url":"https://github.com/MartinBodocky","followers_url":"https://api.github.com/users/MartinBodocky/followers","following_url":"https://api.github.com/users/MartinBodocky/following{/other_user}","gists_url":"https://api.github.com/users/MartinBodocky/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinBodocky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinBodocky/subscriptions","organizations_url":"https://api.github.com/users/MartinBodocky/orgs","repos_url":"https://api.github.com/users/MartinBodocky/repos","events_url":"https://api.github.com/users/MartinBodocky/events{/privacy}","received_events_url":"https://api.github.com/users/MartinBodocky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/labels/1%20-%20Backlog","name":"1 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/labels/question","name":"question","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/milestones/11","html_url":"https://github.com/angular-gantt/angular-gantt/milestones/1.4","labels_url":"https://api.github.com/repos/angular-gantt/angular-gantt/milestones/11/labels","id":878054,"number":11,"title":"1.4","description":"Mobile and touch support","creator":{"login":"Toilal","id":1165758,"avatar_url":"https://avatars.githubusercontent.com/u/1165758?v=3","gravatar_id":"","url":"https://api.github.com/users/Toilal","html_url":"https://github.com/Toilal","followers_url":"https://api.github.com/users/Toilal/followers","following_url":"https://api.github.com/users/Toilal/following{/other_user}","gists_url":"https://api.github.com/users/Toilal/gists{/gist_id}","starred_url":"https://api.github.com/users/Toilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toilal/subscriptions","organizations_url":"https://api.github.com/users/Toilal/orgs","repos_url":"https://api.github.com/users/Toilal/repos","events_url":"https://api.github.com/users/Toilal/events{/privacy}","received_events_url":"https://api.github.com/users/Toilal/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2014-11-24T10:16:33Z","updated_at":"2015-10-06T13:09:43Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-10-06T12:38:19Z","updated_at":"2015-10-06T13:57:08Z","closed_at":null,"body":"I have found bug when you feed gantt with this data:\r\n```\r\n[{\r\n    name: 'SGTS', children: ['Department 1']\r\n},\r\n{\r\n    name: 'Department 1', children: ['Darrell Quirion']\r\n},\r\n{\r\n    name: 'Department 1', children: ['Darrell Quirion']\r\n}\r\n,\r\n{\r\n    name: 'Darrell Quirion', tasks: [\r\n        { name: 'Iran', color: colours[0], from: setNewDate(1), to: setNewDate(4) }\r\n    ]\r\n}];\r\n```\r\nI cannot get any exception or something like that, because the browser just stuck. I'm using Chrome version 27.0.1453.110.\r\n"},"comment":{"url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/comments/145863870","html_url":"https://github.com/angular-gantt/angular-gantt/issues/517#issuecomment-145863870","issue_url":"https://api.github.com/repos/angular-gantt/angular-gantt/issues/517","id":145863870,"user":{"login":"Toilal","id":1165758,"avatar_url":"https://avatars.githubusercontent.com/u/1165758?v=3","gravatar_id":"","url":"https://api.github.com/users/Toilal","html_url":"https://github.com/Toilal","followers_url":"https://api.github.com/users/Toilal/followers","following_url":"https://api.github.com/users/Toilal/following{/other_user}","gists_url":"https://api.github.com/users/Toilal/gists{/gist_id}","starred_url":"https://api.github.com/users/Toilal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Toilal/subscriptions","organizations_url":"https://api.github.com/users/Toilal/orgs","repos_url":"https://api.github.com/users/Toilal/repos","events_url":"https://api.github.com/users/Toilal/events{/privacy}","received_events_url":"https://api.github.com/users/Toilal/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T13:57:08Z","updated_at":"2015-10-06T13:57:08Z","body":"Yes, we should raise in error in case there's a loop in Hierarchy building, or duplicates ... Maybe you could open a pull request ? it should be in [Hierarchy factory](https://github.com/angular-gantt/angular-gantt/blob/master/src/core/logic/util/hierarchy.factory.js) ..."}}