{"action":"opened","issue":{"url":"https://api.github.com/repos/NuCivic/dkan/issues/468","labels_url":"https://api.github.com/repos/NuCivic/dkan/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/NuCivic/dkan/issues/468/comments","events_url":"https://api.github.com/repos/NuCivic/dkan/issues/468/events","html_url":"https://github.com/NuCivic/dkan/issues/468","id":80773351,"number":468,"title":"WSOD when adding a resource to a newly created dataset","user":{"login":"ziodave","id":11438,"avatar_url":"https://avatars.githubusercontent.com/u/11438?v=3","gravatar_id":"","url":"https://api.github.com/users/ziodave","html_url":"https://github.com/ziodave","followers_url":"https://api.github.com/users/ziodave/followers","following_url":"https://api.github.com/users/ziodave/following{/other_user}","gists_url":"https://api.github.com/users/ziodave/gists{/gist_id}","starred_url":"https://api.github.com/users/ziodave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziodave/subscriptions","organizations_url":"https://api.github.com/users/ziodave/orgs","repos_url":"https://api.github.com/users/ziodave/repos","events_url":"https://api.github.com/users/ziodave/events{/privacy}","received_events_url":"https://api.github.com/users/ziodave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-26T03:48:36Z","updated_at":"2015-05-26T03:48:36Z","closed_at":null,"body":"After creating a dataset, moving on to step 2, http://dkan/node/add/resource?dataset=<dataset-id>, I get a WSOD.\r\n\r\nAfter some investigation I found that the page fails when trying to render the *field_dataset_ref* field with a *selection list* widget. Changing the widget to *autocomplete* will make the page work, but the newly created dataset is not preselected.\r\n\r\nI believe that the *selection list* widget fails because it tries to load all of the datasets in memory (I have more than 11.000)."}}