Project

General

Profile

Actions

Patch #16700

closed

Blank content type for attachments attached via Ajax file upload

Added by Jens Krämer about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We recently discovered a bug her at Planio which pretty much affects all attachments created via the Ajax file upload: Attachments are initially created with the correct content type, but later when retrieved via their tokens and attached to their container this gets overwritten with nil.

Please see the patch attached. Testcase included.


Files

fix_content_type.patch (1.58 KB) fix_content_type.patch Jens Krämer, 2014-04-16 12:58
Actions

Also available in: Atom PDF