{"action":"opened","issue":{"url":"https://api.github.com/repos/ccswbs/hjckrrh/issues/336","repository_url":"https://api.github.com/repos/ccswbs/hjckrrh","labels_url":"https://api.github.com/repos/ccswbs/hjckrrh/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/ccswbs/hjckrrh/issues/336/comments","events_url":"https://api.github.com/repos/ccswbs/hjckrrh/issues/336/events","html_url":"https://github.com/ccswbs/hjckrrh/issues/336","id":133093209,"number":336,"title":"Migrate D7 - Event field attachments are not showing up after migration","user":{"login":"mmafe","id":1927902,"avatar_url":"https://avatars.githubusercontent.com/u/1927902?v=3","gravatar_id":"","url":"https://api.github.com/users/mmafe","html_url":"https://github.com/mmafe","followers_url":"https://api.github.com/users/mmafe/followers","following_url":"https://api.github.com/users/mmafe/following{/other_user}","gists_url":"https://api.github.com/users/mmafe/gists{/gist_id}","starred_url":"https://api.github.com/users/mmafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmafe/subscriptions","organizations_url":"https://api.github.com/users/mmafe/orgs","repos_url":"https://api.github.com/users/mmafe/repos","events_url":"https://api.github.com/users/mmafe/events{/privacy}","received_events_url":"https://api.github.com/users/mmafe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ccswbs/hjckrrh/labels/feature:%20migrate%20d7","name":"feature: migrate d7","color":"efefef"},{"url":"https://api.github.com/repos/ccswbs/hjckrrh/labels/type:%20bug","name":"type: bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T21:35:46Z","updated_at":"2016-02-11T21:35:46Z","closed_at":null,"body":"#Description of Issue\r\nEvent field attachments do not show up after running a migration. To recreate:\r\n\r\n1. drush mi --group=ug_migrate_d7\r\n2. Check any event page with an attachment to see if the attachment shows (it should not if the issue is still present)\r\n\r\n#Possible Reasons\r\nThis issue appears to be related to the field collection migration associated with UGEvent7 class. I get the following error in the migration mapping table with UGEvent7 after an initial (group) migration. \r\n\r\nTrying to get property of non-object\r\nFile /sites/all/modules/field_collection/field_collection.module, line 1173(file: /sites/all/modules/field_collection/field_collection.module, line 1173) \r\n\r\nUndefined index: revision_id\r\nFile /sites/all/modules/field_collection/field_collection.module, line 1173(file: /sites/all/modules/field_collection/field_collection.module, line 1173)\r\n\r\n-----\r\n\r\n#Workaround Steps\r\n1. drush mi --update UGEvent7\r\n2. drush mi --update UGMenuLinks7\r\n\r\nThis causes the event class to register the file attachments.\r\n\r\nHowever, the reason why this is occurring will still need to be solved at some point."}}