{"action":"created","issue":{"url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/26","repository_url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving","labels_url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/26/comments","events_url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/26/events","html_url":"https://github.com/hoegrammer/civicrm_justgiving/issues/26","id":160626140,"number":26,"title":"Large imports fail","user":{"login":"AndrewCRichards","id":14843292,"avatar_url":"https://avatars.githubusercontent.com/u/14843292?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewCRichards","html_url":"https://github.com/AndrewCRichards","followers_url":"https://api.github.com/users/AndrewCRichards/followers","following_url":"https://api.github.com/users/AndrewCRichards/following{/other_user}","gists_url":"https://api.github.com/users/AndrewCRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewCRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewCRichards/subscriptions","organizations_url":"https://api.github.com/users/AndrewCRichards/orgs","repos_url":"https://api.github.com/users/AndrewCRichards/repos","events_url":"https://api.github.com/users/AndrewCRichards/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewCRichards/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T10:13:43Z","updated_at":"2016-06-16T12:47:34Z","closed_at":"2016-06-16T12:47:34Z","body":"Discovered that an import fails when lots of records are to be imported (on this occasion it was over 200) with \"Data too long for column field 'field_results_value'...\". I think this is due to the results from the import (a long string) being assigned to $node->field_results['und'][0]['value'] in assist_just_giving.module without considering whether the length could be problematic.\r\n\r\nPossible solutions are likely to be rethinking how the results are stored, and/or limiting the size of dataset that can be imported at one time (maybe to < 100 records)"},"comment":{"url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/comments/226474799","html_url":"https://github.com/hoegrammer/civicrm_justgiving/issues/26#issuecomment-226474799","issue_url":"https://api.github.com/repos/hoegrammer/civicrm_justgiving/issues/26","id":226474799,"user":{"login":"AndrewCRichards","id":14843292,"avatar_url":"https://avatars.githubusercontent.com/u/14843292?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewCRichards","html_url":"https://github.com/AndrewCRichards","followers_url":"https://api.github.com/users/AndrewCRichards/followers","following_url":"https://api.github.com/users/AndrewCRichards/following{/other_user}","gists_url":"https://api.github.com/users/AndrewCRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewCRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewCRichards/subscriptions","organizations_url":"https://api.github.com/users/AndrewCRichards/orgs","repos_url":"https://api.github.com/users/AndrewCRichards/repos","events_url":"https://api.github.com/users/AndrewCRichards/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewCRichards/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T12:47:34Z","updated_at":"2016-06-16T12:47:34Z","body":"Fixed (quick-and-dirty) in commit 1c78ccb: Attempting to import CSV files with > 100 records triggers an error and the import is refused. Better would be to take the results string and cut it into large chunks, then save these individually..."}}
{"actor":{"display_login":"AndrewCRichards"}}