{"action":"created","issue":{"url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/39","labels_url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/39/comments","events_url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/39/events","html_url":"https://github.com/OCHA-DAP/cod-migration/issues/39","id":94297578,"number":39,"title":"Losing the third resource","user":{"login":"cjhendrix","id":1654485,"avatar_url":"https://avatars.githubusercontent.com/u/1654485?v=3","gravatar_id":"","url":"https://api.github.com/users/cjhendrix","html_url":"https://github.com/cjhendrix","followers_url":"https://api.github.com/users/cjhendrix/followers","following_url":"https://api.github.com/users/cjhendrix/following{/other_user}","gists_url":"https://api.github.com/users/cjhendrix/gists{/gist_id}","starred_url":"https://api.github.com/users/cjhendrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjhendrix/subscriptions","organizations_url":"https://api.github.com/users/cjhendrix/orgs","repos_url":"https://api.github.com/users/cjhendrix/repos","events_url":"https://api.github.com/users/cjhendrix/events{/privacy}","received_events_url":"https://api.github.com/users/cjhendrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-10T12:28:30Z","updated_at":"2015-07-14T13:23:10Z","closed_at":null,"body":"In the most recent run, the log shows 3 resources migrated for node 4537, but only two are visible in ckan (the zip is dropped not appearing): https://test-data.hdx.rwlabs.org/dataset/afghanistan-population-statistics#\r\n\r\nLog entries:\r\n```\r\n2015-07-10T13:51:51+0200 | dataset | START | True | 4537 | None | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | None | None | None | None | None\r\n2015-07-10T13:51:52+0200 | dataset | get | True | 4537 | https://www.humanitarianresponse.info/en/operations/afghanistan/dataset/afghanistan-population-statistics | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | None | None | None | None | None\r\n2015-07-10T13:51:52+0200 | dataset | format | True | 4537 | https://www.humanitarianresponse.info/en/operations/afghanistan/dataset/afghanistan-population-statistics | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | None | Afghanistan - Population Statistics | None | None | None\r\n2015-07-10T13:51:59+0200 | dataset | update | True | 4537 | https://www.humanitarianresponse.info/en/operations/afghanistan/dataset/afghanistan-population-statistics | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | 4c58fa87-3259-4cc8-a35c-48489cafb773 | Afghanistan - Population Statistics | None | https://test-data.hdx.rwlabs.org/dataset/afghanistan-population-statistics | https://test-data.hdx.rwlabs.org/api/3/action/package_show?id=afghanistan-population-statistics\r\n2015-07-10T13:51:59+0200 | resource | format | True | 51842 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/datasets/AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx\r\n2015-07-10T13:52:00+0200 | resource | get | True | 51842 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/datasets/AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx\r\n2015-07-10T13:52:22+0200 | resource | create | True | 51842 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/datasets/AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2014_2015_OCHA_201409Sep08.xlsx\r\n2015-07-10T13:52:22+0200 | resource | format | True | 3860 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx\r\n2015-07-10T13:52:24+0200 | resource | get | True | 3860 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx\r\n2015-07-10T13:52:32+0200 | resource | create | True | 3860 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=AFG_CSO_POP_DISTRICT_2013_2014_OCHA_201307JUL31.xlsx\r\n2015-07-10T13:52:32+0200 | resource | format | True | 3861 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/CSO%20Estimated%20Population%20of%20Afghanistan%202013-14%20Report.zip | None | CSO Estimated Population of Afghanistan 2013-14 Report.zip | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=CSO Estimated Population of Afghanistan 2013-14 Report.zip\r\n2015-07-10T13:52:41+0200 | resource | get | True | 3861 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/CSO%20Estimated%20Population%20of%20Afghanistan%202013-14%20Report.zip | None | CSO Estimated Population of Afghanistan 2013-14 Report.zip | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=CSO Estimated Population of Afghanistan 2013-14 Report.zip\r\n2015-07-10T13:53:54+0200 | resource | create | True | 3861 | https://www.humanitarianresponse.info/sites/www.humanitarianresponse.info/files/CSO%20Estimated%20Population%20of%20Afghanistan%202013-14%20Report.zip | None | CSO Estimated Population of Afghanistan 2013-14 Report.zip | None | afghanistan-population-statistics | None | https://test-data.hdx.rwlabs.org/api/3/action/resource_show?id=CSO Estimated Population of Afghanistan 2013-14 Report.zip\r\nzip\r\n2015-07-10T13:54:00+0200 | dataset | update | True | 4537 | https://www.humanitarianresponse.info/en/operations/afghanistan/dataset/afghanistan-population-statistics | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | 4c58fa87-3259-4cc8-a35c-48489cafb773 | Afghanistan - Population Statistics | None | https://test-data.hdx.rwlabs.org/dataset/afghanistan-population-statistics | https://test-data.hdx.rwlabs.org/api/3/action/package_show?id=afghanistan-population-statistics\r\n2015-07-10T13:54:00+0200 | dataset | COMPLETE | True | 4537 | https://www.humanitarianresponse.info/en/operations/afghanistan/dataset/afghanistan-population-statistics | https://www.humanitarianresponse.info/en/api/v1.0/datasets/4537 | 4c58fa87-3259-4cc8-a35c-48489cafb773 | Afghanistan - Population Statistics | None | https://test-data.hdx.rwlabs.org/dataset/afghanistan-population-statistics | https://test-data.hdx.rwlabs.org/api/3/action/package_show?id=afghanistan-population-statistics\r\n```"},"comment":{"url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/comments/121236486","html_url":"https://github.com/OCHA-DAP/cod-migration/issues/39#issuecomment-121236486","issue_url":"https://api.github.com/repos/OCHA-DAP/cod-migration/issues/39","id":121236486,"user":{"login":"teodorescuserban","id":1542984,"avatar_url":"https://avatars.githubusercontent.com/u/1542984?v=3","gravatar_id":"","url":"https://api.github.com/users/teodorescuserban","html_url":"https://github.com/teodorescuserban","followers_url":"https://api.github.com/users/teodorescuserban/followers","following_url":"https://api.github.com/users/teodorescuserban/following{/other_user}","gists_url":"https://api.github.com/users/teodorescuserban/gists{/gist_id}","starred_url":"https://api.github.com/users/teodorescuserban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teodorescuserban/subscriptions","organizations_url":"https://api.github.com/users/teodorescuserban/orgs","repos_url":"https://api.github.com/users/teodorescuserban/repos","events_url":"https://api.github.com/users/teodorescuserban/events{/privacy}","received_events_url":"https://api.github.com/users/teodorescuserban/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T13:23:10Z","updated_at":"2015-07-14T13:23:10Z","body":"please test again. I was runnning a test on the same exact dataset.\r\non each dataset update, if the resources' metadata are not included in the dataset update call, they will just get lost.\r\n"}}