{"action":"created","issue":{"url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/356","labels_url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/356/comments","events_url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/356/events","html_url":"https://github.com/AutomationSolutionz/Framework_0.1/issues/356","id":56099564,"number":356,"title":"when i created two sections with same name .. i am stuck with busy clock","user":{"login":"riz-hossain","id":5302523,"avatar_url":"https://avatars.githubusercontent.com/u/5302523?v=3","gravatar_id":"","url":"https://api.github.com/users/riz-hossain","html_url":"https://github.com/riz-hossain","followers_url":"https://api.github.com/users/riz-hossain/followers","following_url":"https://api.github.com/users/riz-hossain/following{/other_user}","gists_url":"https://api.github.com/users/riz-hossain/gists{/gist_id}","starred_url":"https://api.github.com/users/riz-hossain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riz-hossain/subscriptions","organizations_url":"https://api.github.com/users/riz-hossain/orgs","repos_url":"https://api.github.com/users/riz-hossain/repos","events_url":"https://api.github.com/users/riz-hossain/events{/privacy}","received_events_url":"https://api.github.com/users/riz-hossain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/labels/Priority%201%20(Highest)","name":"Priority 1 (Highest)","color":"e11d21"},{"url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/labels/Sazid","name":"Sazid","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"sazid","id":2370167,"avatar_url":"https://avatars.githubusercontent.com/u/2370167?v=3","gravatar_id":"","url":"https://api.github.com/users/sazid","html_url":"https://github.com/sazid","followers_url":"https://api.github.com/users/sazid/followers","following_url":"https://api.github.com/users/sazid/following{/other_user}","gists_url":"https://api.github.com/users/sazid/gists{/gist_id}","starred_url":"https://api.github.com/users/sazid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sazid/subscriptions","organizations_url":"https://api.github.com/users/sazid/orgs","repos_url":"https://api.github.com/users/sazid/repos","events_url":"https://api.github.com/users/sazid/events{/privacy}","received_events_url":"https://api.github.com/users/sazid/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-30T23:34:10Z","updated_at":"2015-01-31T04:12:29Z","closed_at":null,"body":"InterfaceError: cursor already closed\r\n[30/Jan/2015 18:32:28] \"GET /Home/ManageTestCases/setData/createSection/?section_text=tesd&project_id=PROJ-19&team_id=135 HTTP/1.1\" 500 16280\r\n[30/Jan/2015 18:32:32] \"GET /Home/ManageTestCases/ HTTP/1.1\" 200 53136\r\n[30/Jan/2015 18:32:33] \"GET /Home/ManageTestCases/GetProjectNameForTopBar/?user_id=9 HTTP/1.1\" 200 100\r\n[30/Jan/2015 18:32:33] \"GET /Home/UserInfo/ServeProfilePictureURL/?username=riz&full_name=Riz+Hossain HTTP/1.1\" 200 64\r\n[30/Jan/2015 18:32:33] \"GET /site_media/Jquery/jstree/jstree.min.js?_=1422660751762 HTTP/1.1\" 200 90082\r\nInternal Server Error: /Home/ManageTestCases/\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py\", line 115, in get_response\r\n    response = callback(request, *callback_args, **callback_kwargs)\r\n  File \"C:\\Users\\Riz\\git\\Framework_0.1\\Automationz\\Framework_0.1\\DjangoFramework\\..\\DjangoFramework\\MySite\\views.py\", line 8341, in manage_test_cases\r\n    temp['parent_text'] = section[-2]\r\nIndexError: list index out of range\r\n2015-01-30 18:32:33,194 ERROR Internal Server Error: /Home/ManageTestCases/\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\lib\\site-packages\\django\\core\\handlers\\base.py\", line 115, in get_response\r\n    response = callback(request, *callback_args, **callback_kwargs)\r\n  File \"C:\\Users\\Riz\\git\\Framework_0.1\\Automationz\\Framework_0.1\\DjangoFramework\\..\\DjangoFramework\\MySite\\views.py\", line 8341, in manage_test_cases\r\n    temp['parent_text'] = section[-2]\r\nIndexError: list index out of range"},"comment":{"url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/comments/72303704","html_url":"https://github.com/AutomationSolutionz/Framework_0.1/issues/356#issuecomment-72303704","issue_url":"https://api.github.com/repos/AutomationSolutionz/Framework_0.1/issues/356","id":72303704,"user":{"login":"sazid","id":2370167,"avatar_url":"https://avatars.githubusercontent.com/u/2370167?v=3","gravatar_id":"","url":"https://api.github.com/users/sazid","html_url":"https://github.com/sazid","followers_url":"https://api.github.com/users/sazid/followers","following_url":"https://api.github.com/users/sazid/following{/other_user}","gists_url":"https://api.github.com/users/sazid/gists{/gist_id}","starred_url":"https://api.github.com/users/sazid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sazid/subscriptions","organizations_url":"https://api.github.com/users/sazid/orgs","repos_url":"https://api.github.com/users/sazid/repos","events_url":"https://api.github.com/users/sazid/events{/privacy}","received_events_url":"https://api.github.com/users/sazid/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T04:12:29Z","updated_at":"2015-01-31T04:12:29Z","body":"The loading indicator may have a different issue.\r\nBut, I don't think we should allow sections with same name. There will be\r\nconflicts as to where the child sections will be put when they're being\r\nsent back from the server.\r\n\r\nThink of this scenario:\r\n\r\n• P1 > C1 > CA\r\n• B2 > P1\r\n• A4 > P1 > D3\r\n\r\nNow, the computer won't know where to put P1 as the parent (row1) and where\r\nto put P1 as the child (row 2, 3) because it traverses all rows during\r\ncalculation. Besides, rows in databases will not be ordered according to\r\nsections. So, it is possible that, when a user has created another section\r\nin between the sections with duplicate names, the computer won't be able to\r\ntraverse serially and hence, this issue can't be solved. This one will\r\nrequire a bit more explanation. But, you should get the point."}}