{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15320","labels_url":"https://api.github.com/repos/owncloud/core/issues/15320/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15320/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15320/events","html_url":"https://github.com/owncloud/core/issues/15320","id":65305430,"number":15320,"title":"Core does not load filetype icons from theme","user":{"login":"krempelweb","id":11726947,"avatar_url":"https://avatars.githubusercontent.com/u/11726947?v=3","gravatar_id":"","url":"https://api.github.com/users/krempelweb","html_url":"https://github.com/krempelweb","followers_url":"https://api.github.com/users/krempelweb/followers","following_url":"https://api.github.com/users/krempelweb/following{/other_user}","gists_url":"https://api.github.com/users/krempelweb/gists{/gist_id}","starred_url":"https://api.github.com/users/krempelweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krempelweb/subscriptions","organizations_url":"https://api.github.com/users/krempelweb/orgs","repos_url":"https://api.github.com/users/krempelweb/repos","events_url":"https://api.github.com/users/krempelweb/events{/privacy}","received_events_url":"https://api.github.com/users/krempelweb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/core/labels/junior%20job","name":"junior job","color":"d7e102"},{"url":"https://api.github.com/repos/owncloud/core/labels/theming","name":"theming","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-next","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":643,"closed_issues":1,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-06-29T06:56:23Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-03-30T21:24:40Z","updated_at":"2015-06-29T06:56:23Z","closed_at":"2015-06-29T06:56:23Z","body":"I created a theme today and found out the filetype icons in `/themes/[themename]/core/img/filetypes` will be ignored. As far as I could debug this, I think the bug is located in the function `mimetypeIcon($mimetype)` in `/lib/private/helper.php`.\r\n\r\nIt only uses `OC::$WEBROOT` in a simple string concat instead of an URL-Generator like `imagePath($app, $image)`.\r\n\r\nI don't contribute to the project yet and it's too late now so I cannot fix and test it soon, but perhaps anyone else here can do it."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/116484680","html_url":"https://github.com/owncloud/core/issues/15320#issuecomment-116484680","issue_url":"https://api.github.com/repos/owncloud/core/issues/15320","id":116484680,"user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T06:56:23Z","updated_at":"2015-06-29T06:56:23Z","body":"This is a duplicate of #6773 "}}