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)

All
Windows 2000
defect
Not set
normal

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)

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.
Keywords: intl
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
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
data lost. nsbeta1+
Blocks: 141008
Keywords: nsbeta1nsbeta1+
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 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 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+
checked in to the trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.1beta → mozilla1.0
can IQA verified this on the trunk ASAP.
Verified as fixed with 05/16 trunk build.
Status: RESOLVED → VERIFIED
Keywords: adt1.0.0, approval
Whiteboard: [adt2]
the patch looks really is two lines changes plus tabing changes. low risk
Blocks: 143047
Whiteboard: [adt2] → [adt2 RTM] [ETA 05/31] [Needs a=]
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.
Keywords: adt1.0.0adt1.0.0+
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.
Keywords: adt1.0.0+adt1.0.1+
Keywords: mozilla1.0.1
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+
Target Milestone: mozilla1.0 → mozilla1.0.1
patch checked into the 1.0 branch for nhotta and change keyword to fixed1.0.1
Blocks: 146292
No longer blocks: 141008
ji - can you verify this bug fix in 1.01 branch? When verified, pls replace fixed1.0.1 keyword with verified1.0.1. Thanks.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: