{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-files/issues/361","labels_url":"https://api.github.com/repos/cozy/cozy-files/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-files/issues/361/comments","events_url":"https://api.github.com/repos/cozy/cozy-files/issues/361/events","html_url":"https://github.com/cozy/cozy-files/issues/361","id":108963787,"number":361,"title":"\"Picture icon\" not displayed for images imported prior  to  publication of version 1.1.14","user":{"login":"ZeHiro","id":7999082,"avatar_url":"https://avatars.githubusercontent.com/u/7999082?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeHiro","html_url":"https://github.com/ZeHiro","followers_url":"https://api.github.com/users/ZeHiro/followers","following_url":"https://api.github.com/users/ZeHiro/following{/other_user}","gists_url":"https://api.github.com/users/ZeHiro/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeHiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeHiro/subscriptions","organizations_url":"https://api.github.com/users/ZeHiro/orgs","repos_url":"https://api.github.com/users/ZeHiro/repos","events_url":"https://api.github.com/users/ZeHiro/events{/privacy}","received_events_url":"https://api.github.com/users/ZeHiro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cozy/cozy-files/labels/0%20-%20Backlog","name":"0 - Backlog","color":"bfe5bf"},{"url":"https://api.github.com/repos/cozy/cozy-files/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-29T21:28:16Z","updated_at":"2015-10-02T08:27:33Z","closed_at":null,"body":"The images in files imported before publication of version 1.1.14 of files do not have the good icone. It is a blank icone instead of the picture icon"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-files/issues/comments/144958570","html_url":"https://github.com/cozy/cozy-files/issues/361#issuecomment-144958570","issue_url":"https://api.github.com/repos/cozy/cozy-files/issues/361","id":144958570,"user":{"login":"aenario","id":1580287,"avatar_url":"https://avatars.githubusercontent.com/u/1580287?v=3","gravatar_id":"","url":"https://api.github.com/users/aenario","html_url":"https://github.com/aenario","followers_url":"https://api.github.com/users/aenario/followers","following_url":"https://api.github.com/users/aenario/following{/other_user}","gists_url":"https://api.github.com/users/aenario/gists{/gist_id}","starred_url":"https://api.github.com/users/aenario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aenario/subscriptions","organizations_url":"https://api.github.com/users/aenario/orgs","repos_url":"https://api.github.com/users/aenario/repos","events_url":"https://api.github.com/users/aenario/events{/privacy}","received_events_url":"https://api.github.com/users/aenario/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T08:27:33Z","updated_at":"2015-10-02T08:27:33Z","body":"Yes, the mime type / class is determined upon upload, older files should be reindexed.\r\n\r\nWe cant add it at postinstall, because we dont have the necessary env to have permission to read files from the DS. We can however add a view to fetch all files without mime-type/class and reindex them and run this function on application startup."}}