{"action":"opened","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1989","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1989/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1989/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/1989/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/1989","id":279576885,"number":1989,"title":"load_sample_data fails assigning enterprise emails","user":{"login":"mkllnk","id":3524483,"avatar_url":"https://avatars0.githubusercontent.com/u/3524483?v=4","gravatar_id":"","url":"https://api.github.com/users/mkllnk","html_url":"https://github.com/mkllnk","followers_url":"https://api.github.com/users/mkllnk/followers","following_url":"https://api.github.com/users/mkllnk/following{/other_user}","gists_url":"https://api.github.com/users/mkllnk/gists{/gist_id}","starred_url":"https://api.github.com/users/mkllnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkllnk/subscriptions","organizations_url":"https://api.github.com/users/mkllnk/orgs","repos_url":"https://api.github.com/users/mkllnk/repos","events_url":"https://api.github.com/users/mkllnk/events{/privacy}","received_events_url":"https://api.github.com/users/mkllnk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-06T00:08:26Z","updated_at":"2017-12-06T00:08:26Z","closed_at":null,"author_association":"OWNER","body":"The rake task `openfoodnetwork:dev:load_sample_data` is broken:\r\n```\r\n$ bundle exec rake openfoodnetwork:dev:load_sample_data\r\n[openfoodnetwork:dev:load_sample_data] Seeding taxonomies\r\n[openfoodnetwork:dev:load_sample_data] Seeding addresses\r\n[openfoodnetwork:dev:load_sample_data] Seeding enterprises\r\nrake aborted!\r\nNoMethodError: undefined method `email=' for #<Enterprise:0x007f1bf91a2b80>\r\n/home/maikel/.bundler/ofn/ruby/2.1.0/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:407:in `method_missing'\r\n...\r\n```\r\n\r\nI guess that the data has to be updated since enterprises don't have email addresses any more."}}
{"actor":{"display_login":"mkllnk"}}