Closed
Bug 17956
Opened 25 years ago
Closed 25 years ago
[DOGFOOD] reply to message in Local Mail, and you get no body
Categories
(MailNews Core :: Backend, defect, P3)
MailNews Core
Backend
Tracking
(Not tracked)
VERIFIED
FIXED
M11
People
(Reporter: sspitzer, Assigned: bugzilla)
References
Details
(Whiteboard: [PDT+])
Attachments
(1 file)
5.41 KB,
patch
|
Details | Diff | Splinter Review |
reply to message under a pop server and it works. reply to a message under local mail, and it fails. I'll look into it tomorrow.
Reporter | ||
Updated•25 years ago
|
Target Milestone: M11
Reporter | ||
Comment 1•25 years ago
|
||
could be a problem caused by the fact the uri would be mailbox://nobody@Local Mail/Trash#4
Reporter | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•25 years ago
|
||
yes, it looks like it's caused by the space. when I change (in my prefs and on disk) "Local Mail" to "LocalMail" reply works. debugging to find out where the space kills us now... accepting.
alec has a bug or two about the space problem in Local Mail. I don't think those bugs mention this reply/quote case though.
Reporter | ||
Updated•25 years ago
|
Target Milestone: M11 → M12
Reporter | ||
Comment 4•25 years ago
|
||
since imap, nntp, and pop3 work, but the none (aka Local Mail) case fails, and this is less common, moving this to m12, and not m11. not a stopper for m11.
I agree for the target milestone of M12. If someone was using 4.x POP and migrated, would their POP folders be migrated into local mail?
Reporter | ||
Comment 6•25 years ago
|
||
no, if they used pop in 4.x, they would not have this problem. local folders (when using pop) go into something like <profile>/Mail/<servername>/Trash
Reporter | ||
Comment 7•25 years ago
|
||
ok, here's the problem. in nsMsgComposeService.cpp, line 240, we are passing null for object to msgCompose->Initialize(aWindow, originalMsgURI, type, format, compFields, object, identity); the reason it's null is because at in nsMsgComposeService.cpp, line 228 we compare hack_uri[i] to originalMsgURI. hack_uri[i] is mailbox_message://nobody@Local%20Mail/Trash#4 and originalMsgURI is mailbox_message://nobody@Local Mail/Trash#4 so the compare fails. one possible solution is to URL escape before comparing. comments? /*--- temporary hack ---*/ int i; nsISupports * object = nsnull; if (originalMsgURI) for (i = 0; i < 16; i ++) if (hack_uri[i] == originalMsgURI) { hack_uri[i] = ""; object = hack_object[i]; hack_object[i] = nsnull; break; } /*--- temporary hack ---*/
Comment 8•25 years ago
|
||
Hi JF, Does this one ring a bell? - rhp
Assignee | ||
Comment 9•25 years ago
|
||
All this hack stuff should go away. We normally don't need it anymore as we can retreive message data from the URI now. I will take a look at remove it and converting necessary code. Reassign it to me please
Assignee | ||
Updated•25 years ago
|
Assignee: sspitzer → ducarroz
Status: ASSIGNED → NEW
Assignee | ||
Comment 10•25 years ago
|
||
OK, I have removed the hack in my build and reply still working fine. I haven't tested yet for local mail but I am pretty sure it will works.
Reporter | ||
Comment 11•25 years ago
|
||
send me your patch so I can test it.
Assignee | ||
Comment 12•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•25 years ago
|
||
Seth, the patch is here (id=2629). Could you review it? thanks
Reporter | ||
Comment 14•25 years ago
|
||
jfd, I'm having troubles getting and applying your patch. can you send it to me via email?
Comment 15•25 years ago
|
||
seth - setenv POSIXLY_CORRECT 1 before applying the patch, I often have that problem.
Assignee | ||
Comment 16•25 years ago
|
||
patch sent by email
Reporter | ||
Comment 17•25 years ago
|
||
jfd, your changes look good, and they fix this bug. check it in!
Assignee | ||
Comment 18•25 years ago
|
||
That solve also bug 8510. I like solving bugs by removing codes...
Assignee | ||
Updated•25 years ago
|
Whiteboard: Will check in a fix when the tree open for M12
Whiteboard: Will check in a fix when the tree open for M12 → [PDT+]Will check in a fix when the tree open for M12
Comment 19•25 years ago
|
||
Putting on PDT+ radar.
Reporter | ||
Comment 20•25 years ago
|
||
seeking approval to check this in now...
Reporter | ||
Updated•25 years ago
|
Target Milestone: M12 → M11
Reporter | ||
Comment 21•25 years ago
|
||
marking m11...awaiting for approval now...
Reporter | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: [PDT+]Will check in a fix when the tree open for M12 → [PDT+]
Reporter | ||
Comment 22•25 years ago
|
||
I just checked in ducarroz's fix. marking fixed.
Comment 23•25 years ago
|
||
Using build 1999111017 on win and linux and 1999111011 on mac when I click Reply to a message in a Local Mail folder, the compose window comes up but the reply to address is not filled in nor is the title of the message visible on the subject line after Re: Since this bug was for the body missing this is fixed - I will verify it and a new bug will be logged (18620). Note: If I fill in an address (one that is not what should have been automatically entered) and send it goes to the address I entered only (meaning the address is missing not just invisible).
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•