Closed
Bug 142902
Opened 23 years ago
Closed 23 years ago
Save as Draft or Template doesn't give out warning message when header contains chars not in the specified mail compose charset
Categories
(MailNews Core :: Internationalization, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: ji, Assigned: nhottanscp)
References
Details
(Keywords: intl, Whiteboard: [adt2 RTM] [ETA 05/31] [Needs a=])
Attachments
(1 file)
2.56 KB,
patch
|
bugzilla
:
review+
Bienvenu
:
superreview+
jesup
:
approval+
|
Details | Diff | Splinter Review |
Build: 05/07 branch build
When there are characters not in the specified mail compose charset, save as
draft or template should give out warning message. But now there is no warning
poped up and the characters which are not in the specified charset are displayed
question mark in the draft or template. Send Later doesn't have this problem.
Steps to reproduce:
1. Bring up mail compose window.
2. Enter something in the subject that are not in the specified mail compose
charset, for instance, with mail compose charset pointing to iso-8859-1, enter
or copy/paster Japanese characters into the subject field.
3. Select File | Save as | Draft or Template
No warning message comes up, go to draft or template folder, you can see the Ja
chars in the subject are displayed as question marks.
We need this for the final release. Nominating for nsbeta1.
Keywords: nsbeta1
This problem doesn't exist when body contains "illegal" chars.
Summary: Save as Draft or Template doesn't give out warning message when there are characters not in the specified charset → Save as Draft or Template doesn't give out warning message when header contains chars not in the specified mail compose charset
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
same change with "diff -uw"
Index: MsgComposeCommands.js
===================================================================
RCS file:
/cvsroot/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js,v
retrieving revision 1.266
diff -u -w -r1.266 MsgComposeCommands.js
--- MsgComposeCommands.js 10 May 2002 21:04:00 -0000 1.266
+++ MsgComposeCommands.js 14 May 2002 21:59:13 -0000
@@ -1689,6 +1689,7 @@
break;
default: dump("\###SendMessage Error: invalid action value\n"); return;
}
+ }
// Check if the headers of composing mail can be converted to a mail
charset.
if (msgType == nsIMsgCompDeliverMode.Now ||
@@ -1709,7 +1710,6 @@
if (fallbackCharset &&
fallbackCharset.value && fallbackCharset.value != "")
gMsgCompose.SetDocumentCharset(fallbackCharset.value);
- }
}
try {
gWindowLocked = true;
Comment 6•23 years ago
|
||
Comment on attachment 83600 [details] [diff] [review]
Moved the charset check out of "if (msgType == nsIMsgCompDeliverMode.Now || msgType == nsIMsgCompDeliverMode.Later)"
R=ducarroz
Attachment #83600 -
Flags: review+
Comment 7•23 years ago
|
||
Comment on attachment 83600 [details] [diff] [review]
Moved the charset check out of "if (msgType == nsIMsgCompDeliverMode.Now || msgType == nsIMsgCompDeliverMode.Later)"
sr=bienvenu
Attachment #83600 -
Flags: superreview+
Assignee | ||
Comment 8•23 years ago
|
||
checked in to the trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.1beta → mozilla1.0
Comment 9•23 years ago
|
||
can IQA verified this on the trunk ASAP.
Reporter | ||
Comment 10•23 years ago
|
||
Verified as fixed with 05/16 trunk build.
Status: RESOLVED → VERIFIED
Updated•23 years ago
|
Comment 11•23 years ago
|
||
the patch looks really is two lines changes plus tabing changes. low risk
Comment 12•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch,pending
Driver's approval. After, checking in, please add the fixed1.0 keyword.
Comment 13•23 years ago
|
||
changing to adt1.0.1+ for checkin to the 1.0 branch for the Mozilla1.0.1
milestone. Please get drivers approval before checking in.
Updated•23 years ago
|
Keywords: mozilla1.0.1
Comment 14•23 years ago
|
||
Comment on attachment 83600 [details] [diff] [review]
Moved the charset check out of "if (msgType == nsIMsgCompDeliverMode.Now || msgType == nsIMsgCompDeliverMode.Later)"
please check into the 1.0.1 branch ASAP. once landed remove the
mozilla1.0.1+ keyword and add the fixed1.0.1 keyword
Attachment #83600 -
Flags: approval+
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 15•23 years ago
|
||
patch checked into the 1.0 branch for nhotta
and change keyword to fixed1.0.1
Keywords: mozilla1.0.1+ → fixed1.0.1
Updated•23 years ago
|
Comment 16•23 years ago
|
||
ji - can you verify this bug fix in 1.01 branch? When verified, pls replace
fixed1.0.1 keyword with verified1.0.1. Thanks.
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•