Blank content type for attachments attached via Ajax file upload
|Assignee:||Jean-Philippe Lang||% Done:|
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.
Blank content type for attachments attached via Ajax file upload (Patch by Jens Krämer).