Closed (fixed)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2012 at 15:57 UTC
Updated:
27 Jan 2016 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
poedan commentedI check if the file type is already set.
Comment #2
dave reidWe should probably also check
if (!empty($file->original) && $file->original->filemime != $file->filemime))in case the file mime type has changed.Comment #3
dave reidWe should probably also check
if (!empty($file->original) && $file->original->filemime != $file->filemime))in case the file mime type has changed.Comment #4
devin carlson commentedComment #6
heine commentedThe suggestions appear to have been implemented elsewhere, at least in 7.x-2.0-beta2:
Please reopen if this is still an issue.