Patch #16700

Blank content type for attachments attached via Ajax file upload

Added by Jens Krämer almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Attachments
Target version:2.5.2

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.

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

Associated revisions

Revision 13125
Added by Jean-Philippe Lang over 3 years ago

Blank content type for attachments attached via Ajax file upload (Patch by Jens Krämer).

History

#1 Updated by Jan from Planio www.plan.io almost 4 years ago

  • Target version set to Candidate for next minor release

#2 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next minor release to 2.5.2

Committed in r13125, thanks.

#3 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from Resolved to Closed

Merged.

Also available in: Atom PDF