{"action":"created","issue":{"url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/467","labels_url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/467/comments","events_url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/467/events","html_url":"https://github.com/curationexperts/alexandria-v2/issues/467","id":100789525,"number":467,"title":"ETD collection is not getting an admin_policy_id set","user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T14:47:15Z","updated_at":"2015-10-09T23:05:29Z","closed_at":null,"body":"Possibly move this line to CollectionFactory:\n```\nlib/importer/mods_importer.rb:      create_fedora_objects(parser.model, parser.attributes.merge(admin_policy_id: AdminPolicy::PUBLIC_POLICY_ID))\nlib/importer/csv_importer.rb:        create_fedora_objects(attributes.merge(admin_policy_id: AdminPolicy::PUBLIC_POLICY_ID))\n```"},"comment":{"url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/comments/147007782","html_url":"https://github.com/curationexperts/alexandria-v2/issues/467#issuecomment-147007782","issue_url":"https://api.github.com/repos/curationexperts/alexandria-v2/issues/467","id":147007782,"user":{"login":"ilessing","id":275899,"avatar_url":"https://avatars.githubusercontent.com/u/275899?v=3","gravatar_id":"","url":"https://api.github.com/users/ilessing","html_url":"https://github.com/ilessing","followers_url":"https://api.github.com/users/ilessing/followers","following_url":"https://api.github.com/users/ilessing/following{/other_user}","gists_url":"https://api.github.com/users/ilessing/gists{/gist_id}","starred_url":"https://api.github.com/users/ilessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilessing/subscriptions","organizations_url":"https://api.github.com/users/ilessing/orgs","repos_url":"https://api.github.com/users/ilessing/repos","events_url":"https://api.github.com/users/ilessing/events{/privacy}","received_events_url":"https://api.github.com/users/ilessing/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T23:05:29Z","updated_at":"2015-10-09T23:05:29Z","body":"work around is:\r\n\r\nat ruby console... \r\n```\r\netds = Collection.where(title: \"UCSB Electronic Theses and Dissertations\").first  #or find it by the ID\r\n=> <long collection object here…>\r\netds.admin_policy_id\r\n=> “authorities/policies/public\"\r\n```\r\nThat should yield => \"authorities/policies/public”, but if the admin policy isn’t set you get a ’nil’ instead, \r\nIf this is the case, try this\r\n\r\n```\r\netds.admin_policy_id = \"authorities/policies/public\"\r\n=> \"authorities/policies/public\"\r\netds.save\r\n=> true\r\n```\r\nthen the collection should display in the web browser  "}}