Closed
Bug 52819
Opened 26 years ago
Closed 26 years ago
askSendFormat dialog popup all the time even when the body doesn't contain any formating
Categories
(MailNews Core :: Composition, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
M18
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
(Keywords: regression, Whiteboard: [nsbeta3+][PDTP2][dogfood-])
I cannot send anymore a message whitout be asking to convert my message to plain text. It's a news regression!
Steps:
------
1) open a new message compose
2) address the message to yourself and to "qwe@qwe.qwe"
3) enter a subject
4) type "Hello" in the subject
5) send the message
The AskSendFormat dialog popup. It sould not!
| Assignee | ||
Comment 1•26 years ago
|
||
it's a dogfood stopper for me. I have the fix for it
Status: NEW → ASSIGNED
Keywords: dogfood,
regression
Whiteboard: Fix in hand
Target Milestone: --- → M18
| Assignee | ||
Comment 2•26 years ago
|
||
here is the fix:
Index: MsgComposeCommands.js
===================================================================
RCS file: /cvsroot/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js,v
retrieving revision 1.126
diff -b -u -2 -r1.126 MsgComposeCommands.js
--- MsgComposeCommands.js 2000/09/14 04:55:12 1.126
+++ MsgComposeCommands.js 2000/09/15 18:42:30
@@ -1524,5 +1524,5 @@
try {
return msgCompose.bodyConvertible(
- window.editorShell.contentWindow.document.childNodes[1]);
+ window.editorShell.contentWindow.document.childNodes[0]);
} catch(ex) {}
return msgCompConvertible.No;
| Assignee | ||
Updated•26 years ago
|
Comment 3•26 years ago
|
||
Yes, it's a regression, but dunno what caused it. workedforme until yesterday or so.
Can't give r= :-(, because I don't know, what nodes it accessed and now
accesses, but your patch fixes the bug for me, if that helps.
Updated•26 years ago
|
Summary: askSendFormat dialog popup all the time even when the body doesn't contain any formating → [nsbeta3+]askSendFormat dialog popup all the time even when the body doesn't contain any formating
| Assignee | ||
Updated•26 years ago
|
Priority: P3 → P2
Summary: [nsbeta3+]askSendFormat dialog popup all the time even when the body doesn't contain any formating → askSendFormat dialog popup all the time even when the body doesn't contain any formating
Whiteboard: Fix in hand → [nsbeta3+]Fix in hand
Note: With today's builds 2000-09-15 on win98, mac and linux if you change the
pref back to "Send Message in both HTML and plain text" you don't get the pop up
when you send. Is this the same for you ducarroz? If so, this bug is about the
default setting being wrong?
Sorry, I when I tested it I didn't change the addressing to newsgroup when
entering qwe@qwe.com, so mine went through OK. When I do change the addressing
field to Newsgroup I'm seeing this all the time.
| Assignee | ||
Comment 6•26 years ago
|
||
It's about when the pref is set to "Ask Me". We should not ask the user if the message body doesn't contains any HTML
formatting. In this case, we just send the message in plain text.
| Assignee | ||
Comment 7•26 years ago
|
||
sorry, I was trying to say:
...In this case, we should just send the message in plain text without asking him.
Comment 8•26 years ago
|
||
PDT agrees: P2
Whiteboard: [nsbeta3+]Fix in hand → [nsbeta3+]Fix in hand[PDTP2]
| Assignee | ||
Comment 10•26 years ago
|
||
*** Bug 53040 has been marked as a duplicate of this bug. ***
Comment 11•26 years ago
|
||
This won't stop dogfood use, so marking dogfood-minus.
This is a pain, and it is nice to see that the fix-in-hand will probably get
landed in the P2 landing window ;-).
Whiteboard: [nsbeta3+]Fix in hand[PDTP2] → [nsbeta3+]Fix in hand[PDTP2][dogfood-]
| Assignee | ||
Comment 12•26 years ago
|
||
Fixed and checked in.
Instead of "guessing" which document child is the message body, I use now the
editor function GetRootElement().
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta3+]Fix in hand[PDTP2][dogfood-] → [nsbeta3+][PDTP2][dogfood-]
Comment 13•26 years ago
|
||
Linux (2000-09-19-08 M18)
Win32 (2000-09-19-09 M18)
MAc (2000-09-19-09 M18)
I re-test this using the original scenario and changing the addressing
field to Newsgroup I do not see this problem.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•