{"action":"created","issue":{"url":"https://api.github.com/repos/xframium/xframium-java/issues/45","repository_url":"https://api.github.com/repos/xframium/xframium-java","labels_url":"https://api.github.com/repos/xframium/xframium-java/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/xframium/xframium-java/issues/45/comments","events_url":"https://api.github.com/repos/xframium/xframium-java/issues/45/events","html_url":"https://github.com/xframium/xframium-java/issues/45","id":185594489,"number":45,"title":"PageDataManager.instance().getRecords returns Duplicate records - 1.0.5","user":{"login":"shivajibr","id":19486256,"avatar_url":"https://avatars.githubusercontent.com/u/19486256?v=3","gravatar_id":"","url":"https://api.github.com/users/shivajibr","html_url":"https://github.com/shivajibr","followers_url":"https://api.github.com/users/shivajibr/followers","following_url":"https://api.github.com/users/shivajibr/following{/other_user}","gists_url":"https://api.github.com/users/shivajibr/gists{/gist_id}","starred_url":"https://api.github.com/users/shivajibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivajibr/subscriptions","organizations_url":"https://api.github.com/users/shivajibr/orgs","repos_url":"https://api.github.com/users/shivajibr/repos","events_url":"https://api.github.com/users/shivajibr/events{/privacy}","received_events_url":"https://api.github.com/users/shivajibr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-27T07:38:13Z","updated_at":"2016-10-31T10:32:50Z","closed_at":"2016-10-31T10:32:50Z","body":"The following PageDataManager API is returning double the records available. \n\nPageData[] testSuiteList = PageDataManager.instance().getRecords(\"TestSuite\"); \n\nIf there is one record in the excel data sheet, the method returns 2 records, one of them being duplicate\n\nI see there is a change in the addRecord functionality in 1.0.5 from 1.0.4 which is probably the root cause. This method is most likely inserting 2 records\n\npublic void addRecord( PageData pageData )\n    {\n        allRecordMap.get( pageData.getType() ).addRecord( pageData );\n\n```\n    if ( !pageData.isActive() )\n        return;\n\n    Deque<PageData> dataList = recordMap.get( pageData.getType() ).getRecordList();\n    idMap.put( pageData.getType() + \".\" + pageData.getName(), pageData );\n    dataList.offer( pageData );\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/xframium/xframium-java/issues/comments/257260970","html_url":"https://github.com/xframium/xframium-java/issues/45#issuecomment-257260970","issue_url":"https://api.github.com/repos/xframium/xframium-java/issues/45","id":257260970,"user":{"login":"xframium","id":19367077,"avatar_url":"https://avatars.githubusercontent.com/u/19367077?v=3","gravatar_id":"","url":"https://api.github.com/users/xframium","html_url":"https://github.com/xframium","followers_url":"https://api.github.com/users/xframium/followers","following_url":"https://api.github.com/users/xframium/following{/other_user}","gists_url":"https://api.github.com/users/xframium/gists{/gist_id}","starred_url":"https://api.github.com/users/xframium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xframium/subscriptions","organizations_url":"https://api.github.com/users/xframium/orgs","repos_url":"https://api.github.com/users/xframium/repos","events_url":"https://api.github.com/users/xframium/events{/privacy}","received_events_url":"https://api.github.com/users/xframium/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T10:32:50Z","updated_at":"2016-10-31T10:32:50Z","body":"Resovled - fixed in 1.0.6"}}
{"actor":{"display_login":"xframium"}}