Closed
Bug 21333
Opened 26 years ago
Closed 26 years ago
[DOGFOOD]regression msg content is doubled when viewing a message sent with Seamonkey
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
M12
People
(Reporter: esther, Assigned: troy)
Details
(Whiteboard: [PDT+]No ETA yet, it's a layout bug)
Attachments
(2 files)
Using mac build 1999120910M12 when you view a message that was sent by
seamonkey (i used this same build date) the text you typed is displayed twice.
1. Launch Messenger
2. Select New Msg button
3. Address the message to yourself and type in "this is a test" in the body and
Send.
4. Open the message
Result: On Mac only this message displays in the message pane as "this is a
test""this is a test". This same message displayed on win & linux is OK.
Expected: To see the message displayed as it was typed.
Summary: [PP]mac only-regression msg content is doubled when viewing a message sent with Seamonkey → [PP][DOGFOOD]mac only-regression msg content is doubled when viewing a message sent with Seamonkey
Changing qa assigned to pmock@netscape.com
Comment 4•26 years ago
|
||
JF, this may be for me...let me know if you need some help.
- rhp
Updated•26 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [PDT+] → [PDT+]I am looking at it right now. No ETA yet
Target Milestone: M12
Comment 5•26 years ago
|
||
Start looking at it right now...
Updated•26 years ago
|
Hardware: Macintosh → All
Summary: [PP][DOGFOOD]mac only-regression msg content is doubled when viewing a message sent with Seamonkey → [DOGFOOD]mac only-regression msg content is doubled when viewing a message sent with Seamonkey
Comment 6•26 years ago
|
||
Ok, it's really just a display message matter. I have the same problem on window
but instead of having the whole test duplicated, I have only few extra
random characters at the end. I look at the date in the mailbox file itself (the
Berkley one) and everything is fine.
Comment 7•26 years ago
|
||
That appends also when you send an HTML message from 4.x.
When I send the following message:
Line 1 <cr>
Line 2 <no CR>
<vcard inserted here>
When I display the message on Mac, I get:
Line 1 Line 1
Line 2 Line 2
<vcard>
Comment 8•26 years ago
|
||
I've debug the code until nsMimeXULEmitter::DumpBody. The body still correct but
then we convert it to Base64 and at this point I don't know it the encoded
string still good or if we have problem later when we decode the data. I have
the feeling this bug is a regression of bug 16672.
Updated•26 years ago
|
Whiteboard: [PDT+]I am looking at it right now. No ETA yet → [PDT+]No ETA yet, it's a layout bug
Comment 9•26 years ago
|
||
I have a small test case that reproduce the problem. It's a simple xul file which declare an iframe which the source
is a Base64 string. Normally, the frame should display "Hello world" once only.
Comment 10•26 years ago
|
||
Updated•26 years ago
|
Assignee: ducarroz → troy
Status: ASSIGNED → NEW
Component: Composition → Layout
Product: MailNews → Browser
Comment 11•26 years ago
|
||
How to use the test case? just open the file into the browser...
Comment 12•26 years ago
|
||
*** Bug 21314 has been marked as a duplicate of this bug. ***
Comment 13•26 years ago
|
||
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Summary: [DOGFOOD]mac only-regression msg content is doubled when viewing a message sent with Seamonkey → [DOGFOOD]regression msg content is doubled when viewing a message sent with Seamonkey
Comment 14•26 years ago
|
||
My bug on Win32 was marked a duplicate of this. I'm correcting the platform
fields and summary. To QA: when verifying, also check case in my duplicate bug.
Comment 15•26 years ago
|
||
I found a problem with the way we compute the size of the decoded string in
nsDataChannel.cpp. That doesn't fix the duplication of the content of each lines
in Mac but that remove any garbage characters we see often on all platform:
Index: nsDataChannel.cpp
===================================================================
RCS file: /cvsroot/mozilla/netwerk/protocol/data/src/nsDataChannel.cpp,v
retrieving revision 1.17
diff -r1.17 nsDataChannel.cpp
178,179d177
< char *decodedData = (char*)nsAllocator::Alloc((dataLen * 3)/4);
< if (!decodedData) return NS_ERROR_OUT_OF_MEMORY;
181c179,180
< decodedData = PL_Base64Decode(comma+1, dataLen, decodedData);
---
> char * decodedData = PL_Base64Decode(comma+1, dataLen, nsnull);
> if (!decodedData) return NS_ERROR_OUT_OF_MEMORY;
183c182
< dataToWrite->dataLen = (dataLen * 3)/4;
---
> dataToWrite->dataLen = PL_strlen(decodedData);
186c185
< rv = bufOutStream->WriteSegments(nsReadData, dataToWrite, (dataLen *
3)/4, &wrote);
---
> rv = bufOutStream->WriteSegments(nsReadData, dataToWrite,
dataToWrite->dataLen, &wrote);
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 16•26 years ago
|
||
The Mac specific problem of content being displayed is a DUP of 21189.
It seems there is another problem that was added to this bug report. If so,
please create a separate bug report
*** This bug has been marked as a duplicate of 21189 ***
Comment 17•26 years ago
|
||
I will reopen bug 21314 for the carbage characters.
Comment 18•26 years ago
|
||
Peter, the bug that this a duplicate of has been marked fixed on 12/10. Please
verify the Mac case in this bug report using Monday's builds. Thanks.
Comment 19•26 years ago
|
||
Verified as fixed on mac commercial seamonkey build. I was testing under IMAP
with the following build:
ftp://sweetlou/products/client/seamonkey/macos/8.x/ppc/1999-12-11-08-M12/NSMacIn
staller-M12.sea.bin
You need to log in
before you can comment on or make changes to this bug.
Description
•