{"action":"created","issue":{"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/1000","repository_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms","labels_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/1000/comments","events_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/1000/events","html_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/1000","id":153520655,"number":1000,"title":"Always set file_types to an array","user":{"login":"travisp","id":165698,"avatar_url":"https://avatars.githubusercontent.com/u/165698?v=3","gravatar_id":"","url":"https://api.github.com/users/travisp","html_url":"https://github.com/travisp","followers_url":"https://api.github.com/users/travisp/followers","following_url":"https://api.github.com/users/travisp/following{/other_user}","gists_url":"https://api.github.com/users/travisp/gists{/gist_id}","starred_url":"https://api.github.com/users/travisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisp/subscriptions","organizations_url":"https://api.github.com/users/travisp/orgs","repos_url":"https://api.github.com/users/travisp/repos","events_url":"https://api.github.com/users/travisp/events{/privacy}","received_events_url":"https://api.github.com/users/travisp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-06T19:21:52Z","updated_at":"2016-05-10T12:41:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/pulls/1000","html_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/1000","diff_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/1000.diff","patch_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/1000.patch"},"body":"With the current code, file_types can end up as nil, causing an exception further down the page. This fixes that. I'm not sure where an appropriate spec for this would be."},"comment":{"url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/comments/218145345","html_url":"https://github.com/AlchemyCMS/alchemy_cms/pull/1000#issuecomment-218145345","issue_url":"https://api.github.com/repos/AlchemyCMS/alchemy_cms/issues/1000","id":218145345,"user":{"login":"tvdeyen","id":42868,"avatar_url":"https://avatars.githubusercontent.com/u/42868?v=3","gravatar_id":"","url":"https://api.github.com/users/tvdeyen","html_url":"https://github.com/tvdeyen","followers_url":"https://api.github.com/users/tvdeyen/followers","following_url":"https://api.github.com/users/tvdeyen/following{/other_user}","gists_url":"https://api.github.com/users/tvdeyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tvdeyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvdeyen/subscriptions","organizations_url":"https://api.github.com/users/tvdeyen/orgs","repos_url":"https://api.github.com/users/tvdeyen/repos","events_url":"https://api.github.com/users/tvdeyen/events{/privacy}","received_events_url":"https://api.github.com/users/tvdeyen/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T12:41:55Z","updated_at":"2016-05-10T12:41:55Z","body":"For the record, this only fails, if the configuration is not updated. A simple `bin/rake alchemy:upgrade` should fix this issue. However, I would like to see this addressed in 3.3 (which we want to release this week). Do you see any chance to add tests and add a sensible default (allowing all files) @travisp?"}}