{"action":"opened","issue":{"url":"https://api.github.com/repos/plone/plone.app.content/issues/58","labels_url":"https://api.github.com/repos/plone/plone.app.content/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.app.content/issues/58/comments","events_url":"https://api.github.com/repos/plone/plone.app.content/issues/58/events","html_url":"https://github.com/plone/plone.app.content/issues/58","id":111608356,"number":58,"title":"Upload from folder contents fails if content is not File or Image","user":{"login":"keul","id":284924,"avatar_url":"https://avatars.githubusercontent.com/u/284924?v=3","gravatar_id":"","url":"https://api.github.com/users/keul","html_url":"https://github.com/keul","followers_url":"https://api.github.com/users/keul/followers","following_url":"https://api.github.com/users/keul/following{/other_user}","gists_url":"https://api.github.com/users/keul/gists{/gist_id}","starred_url":"https://api.github.com/users/keul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keul/subscriptions","organizations_url":"https://api.github.com/users/keul/orgs","repos_url":"https://api.github.com/users/keul/repos","events_url":"https://api.github.com/users/keul/events{/privacy}","received_events_url":"https://api.github.com/users/keul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T12:42:52Z","updated_at":"2015-10-15T12:42:52Z","closed_at":null,"body":"Creating a new (folderish) content from dexterity control panel, then going into one instance and access contents view: you can't upload any file because the \"size\" is undefined.\r\n\r\nThe issue is at https://github.com/plone/plone.app.content/blob/a453d731f632899bab1061ec84efb7900c557f38/plone/app/content/browser/file.py#L159\r\nOnly \"Image\" and \"File\" is a valid option.\r\n"}}