{"action":"closed","issue":{"url":"https://api.github.com/repos/EllaPham/EmulatedSensor/issues/1","repository_url":"https://api.github.com/repos/EllaPham/EmulatedSensor","labels_url":"https://api.github.com/repos/EllaPham/EmulatedSensor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/EllaPham/EmulatedSensor/issues/1/comments","events_url":"https://api.github.com/repos/EllaPham/EmulatedSensor/issues/1/events","html_url":"https://github.com/EllaPham/EmulatedSensor/issues/1","id":158597376,"number":1,"title":"[TEIT]{ThingSpeakPlatform]Lack of data in csv file when upload on thingspeak (BT15)","user":{"login":"EllaPham","id":17454443,"avatar_url":"https://avatars.githubusercontent.com/u/17454443?v=3","gravatar_id":"","url":"https://api.github.com/users/EllaPham","html_url":"https://github.com/EllaPham","followers_url":"https://api.github.com/users/EllaPham/followers","following_url":"https://api.github.com/users/EllaPham/following{/other_user}","gists_url":"https://api.github.com/users/EllaPham/gists{/gist_id}","starred_url":"https://api.github.com/users/EllaPham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EllaPham/subscriptions","organizations_url":"https://api.github.com/users/EllaPham/orgs","repos_url":"https://api.github.com/users/EllaPham/repos","events_url":"https://api.github.com/users/EllaPham/events{/privacy}","received_events_url":"https://api.github.com/users/EllaPham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-06T04:06:37Z","updated_at":"2016-06-06T04:33:32Z","closed_at":"2016-06-06T04:33:32Z","body":"Issue description : When I post data from csv file to Thingspeak, export JSON file uploaded and compare with csv file. Just 1 record upload succesfully and missing 2 records.\r\n\r\nReason: there are \"space\" when add data to Map in getNextdata() function on CSVAdaptorFile.java:\r\nCode before:\r\nfor (int i = 0; i < fields.length; i++) {\r\ndataMap.put(keyset[i], fields[i]);\r\n}\r\nCode after:\r\nfor (int i = 0; i < fields.length; i++) {\r\ndataMap.put(keyset[i].trim(), fields[i].trim());\r\n}"}}
{"actor":{"display_login":"EllaPham"}}