Actions
Defect #18667
closedAttachment content type not set when uploading attachment
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Hi,
I noticed that the attachment content type is not set when uploading an attachment. Do you also experience this behaviour?
I think this is caused by setting the file contents before setting the file name. (The content type is determined by the file name).
I have attached a patch (from my personal Git repo) which resolves this problem.
Regards,
Thomas
Files
Updated by Jean-Philippe Lang almost 10 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.6.1
- Resolution set to Fixed
Fixed in r13787, thanks for reporting this. The fix was done at model level instead.
Updated by Jean-Philippe Lang almost 10 years ago
- Status changed from Resolved to Closed
Actions