Closed
Bug 714265
Opened 13 years ago
Closed 13 years ago
Encoding not retained in GatherMimeAttachments
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(thunderbird10-, thunderbird11-)
RESOLVED
FIXED
Thunderbird 12.0
People
(Reporter: standard8, Assigned: aceman)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
6.56 KB,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
Regression from bug 679476:
http://hg.mozilla.org/comm-central/diff/9b1d6d96451a/mailnews/compose/src/nsMsgSend.cpp#l1.80
- SNARF(attachments[i].type, ma->m_type);
- SNARF(attachments[i].encoding, ma->m_encoding);
...
+ attachments[i].m_type = ma->m_type;
+ attachments[i].m_encoding, ma->m_encoding;
The comma should have been replaced.
I'm not quite sure of the visible affects of this bug, but I suspect this could affect us getting the correct encoding for attachments.
Reporter | ||
Comment 1•13 years ago
|
||
David, can you assess the likely impact of not having this fix?
Updated•13 years ago
|
Attachment #584949 -
Flags: review?(dbienvenu) → review+
Comment 2•13 years ago
|
||
(In reply to Mark Banner (:standard8) (afk until 3rd Jan) from comment #1)
> Created attachment 584949 [details] [diff] [review]
> The fix
>
> David, can you assess the likely impact of not having this fix?
I don't think this code is ever hit - we only hit it if m_attachments_only_p is true, and it's never set to true, from what I can tell. So we should clean up the code around that var.
Reporter | ||
Comment 3•13 years ago
|
||
Not tracking as we won't actually hit this code.
Attachment #588992 -
Flags: review?(dbienvenu)
Reporter | ||
Comment 6•13 years ago
|
||
Comment on attachment 588992 [details] [diff] [review]
removal of the code
I think you should also be able to remove m_attachments_done_callback - that's pretty unused apart from in this section, and I think it never actually gets set by anyone.
Attachment #588992 -
Attachment is obsolete: true
Attachment #588992 -
Flags: review?(dbienvenu)
Attachment #589008 -
Flags: review?(dbienvenu)
Comment 8•13 years ago
|
||
Comment on attachment 589008 [details] [diff] [review]
removal v2
looks good, thx.
Attachment #589008 -
Flags: review?(dbienvenu) → review+
Keywords: checkin-needed
Reporter | ||
Updated•13 years ago
|
Attachment #584949 -
Attachment is obsolete: true
Reporter | ||
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 12.0
You need to log in
before you can comment on or make changes to this bug.
Description
•