Project

General

Profile

Actions

Patch #16700

closed

Blank content type for attachments attached via Ajax file upload

Added by Jens Krämer over 10 years ago. Updated over 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 #1

Updated by Jan from Planio www.plan.io over 10 years ago

  • Target version set to Candidate for next minor release
Actions #2

Updated by Jean-Philippe Lang over 10 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.

Actions #3

Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF