Closed
Bug 157811
Opened 22 years ago
Closed 22 years ago
plain text compose and reply busted
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: endico, Assigned: bugzilla)
References
Details
(Keywords: smoketest)
uncheck 'compose messages in HTML format' in prefs. reply to a mail. The compose window is displayed but the only field filled out is the subject. None of the address fields are filled in. Type an address in the To: field and press enter. The cursor should move to the next line and create a new To: field. It does not. Its impossible to get any more address fields. Address fields are broken in new compose windows as well. the problem seems to have started with today's nightly build. Myk says that yesterday's build works fine. Asa isn't able to reproduce the problem with win32. Removing the xul fastload file doesn't fix the problem. Nothing shows up in the js console. When a new mail compose window is started from a terminal window, this is echoed to the screen when a mail compose window is opened: ---------------------- PrepareDocumentForEditing
Reporter | ||
Comment 1•22 years ago
|
||
marking as smoketest blocker at asa's request. setting meehan as qa contact at sdonner's request.
Comment 3•22 years ago
|
||
This is working in yesterday's trunk build and broken in today's trunk build Here's the hook from yesterday. The only suspicious checkin is mjudge http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=Head&date=explicit&mindate=07/15/2002+09:00&maxdate=07/16/2002+09:00
Assignee | ||
Comment 4•22 years ago
|
||
Right, nothing changed in mailnews, therefore an editor problem! maybe a api change not reflected in mailnews/compose? Does this problem occurs on other platform? (I don' have an up-to-date build yet)
Assignee | ||
Comment 5•22 years ago
|
||
*** Bug 157815 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 7•22 years ago
|
||
here is the js error which probably cause the problem: WEBSHELL+ = 6 CSS Error (chrome://global/skin/menulist.css :182.27): Error in parsing value for property '-moz-border-radius'. Declaration droppe d. [nsIMsgIdentity: id2],[nsIMsgIdentity: id3],[nsIMsgIdentity: id4],[nsIMsgIdentity: id1] CREATE nsMsgCompose: 64a3a30 ---------------------- PrepareDocumentForEditing goUpdateTableMenuItems: too early, not initialized ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "chrome://editor/content/ editor.js Line: 2335"] ************************************************************
Assignee | ||
Comment 8•22 years ago
|
||
the problem occurs only with brand new created compose window. If a recycled compose window is reused, plain text replie work well. The compose window first call editor to register a DocumentStateListener, then it call editor to load about:blank. The problem is that message compose never get the NotifyDocumentCreated callback from editor! Simon, Mike, any idea?
Assignee | ||
Comment 9•22 years ago
|
||
the document state listener regitered my the message compose is never called because another one (probably registered by editor) failed which cause the loop to stop sending notification in nsEditor::NotifyDocumentListeners
Assignee | ||
Comment 10•22 years ago
|
||
the function EditorSetDefaultPrefsAndDoctype() in nsEditor.js failed on the following line (2224): AddAttrToElem(domdoc, "http-equiv", "content-type", element); Because of: ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "chrome://editor/content/ editor.js Line: 2356"] ************************************************************
Assignee | ||
Comment 11•22 years ago
|
||
BTW, using a plain text composer (editor) produce the same error!
Assignee | ||
Comment 12•22 years ago
|
||
cc'ing jst in case the regression has anything to do with the fix for bug 156452
Comment 13•22 years ago
|
||
plain text compose, reply and reply all are working fine for me in an IMAP account. plain text compose in a POP account, however, only allows one addressee. Otherwise it's working fine for me; with reply and reply all the subject, message body addressee fields are all working. I'm not sure if this is technically a blocker, but since Asa wants it as such, so it stays. POP usage is a bummer with this bug.
Comment 14•22 years ago
|
||
I'm not seeing this bug on this morning's trunk MacOSX build (2002071703)
Comment 15•22 years ago
|
||
*** Bug 157929 has been marked as a duplicate of this bug. ***
Comment 16•22 years ago
|
||
I see the problem (only allows one addressee) using 7/16 commercial trunk, 7/15 commercial trunk does not have the problem. I am using IMAP. Other problem started from yesterday is that "To:" field is empty for new compose by addressbook/mailto (bug 157759).
Reporter | ||
Comment 17•22 years ago
|
||
i still see the same problem with today's trunk build.
Comment 18•22 years ago
|
||
I also see the problem (2002-07-17-08 Linux), and it's consistent. It always fails, it fails for all my accounts, and changing to HTML mode always fixes it.
Reporter | ||
Comment 19•22 years ago
|
||
note that Myk and i are using the mozilla build, and i believe the rest of you are testing the netscape builds. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020717
Assignee | ||
Comment 20•22 years ago
|
||
*** Bug 157759 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 21•22 years ago
|
||
I am still building a Mozilla debug build on Windows...
Assignee | ||
Comment 22•22 years ago
|
||
but for what I have investigated with yesterday's debug build, this is not a mail compose bug but rather a problem between editor and DOM. Plain text editor cannot add dom attributes for security reason!!! seen comment #8, #9 and #10 for full explanation.
Comment 23•22 years ago
|
||
A simple try/catch in editor.js may fix this issue for plaintext reply but I don't know about the addressee stuff. This sounds like a regression due to bug 156452 but I'm just guessing.
Comment 24•22 years ago
|
||
Unable to reproduce on Mac 9.1 using Mozilla trunk build Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.1b) Gecko/20020717
Assignee | ||
Comment 25•22 years ago
|
||
the fact you cannot enter more than one address in a brand new plain text window (works fine with recyled window) is the same problem than the blank body. Message compose need the DocumentCreated notofication from editor in order to finish its initialization.
I have a fix in my tree, testing it now...
Comment 27•22 years ago
|
||
Since Jonas' fix can't land, I propose we take the patch in bug 157851 which will fix this bug.
Comment 28•22 years ago
|
||
I have checked in patch in bug 157851 so I am resolving this bug as fixed. The real problem here is that the plaintext mail editor is calling too much in editor.js because it's type isn't being detected correctly. JFD or someone should file a bug about that.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 29•22 years ago
|
||
verified; plain text compose is working again...as seen on trunk builds: linux 2002-07-18-04-trunk mac os9 2002-07-18-03-trunk
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 30•22 years ago
|
||
I don't think twalker is the best person to verify this bug since he didn't see the problem in the first place. Can someone else verify too before we release 1.1b? I'm on my way out the door for vacation.
Comment 31•22 years ago
|
||
I am confirming comment #29. It works perfectly. Thanks for the quick fix. Using trunk build 2002071804 - WinXP.
Comment 32•22 years ago
|
||
WFM. Another datapoint, although XP also.
Comment 33•22 years ago
|
||
Fixed on linux Bug present in 2002071704 Bug fixed in 2002071808
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•