Closed
Bug 34672
Opened 25 years ago
Closed 24 years ago
Smilies lost
Categories
(MailNews Core :: MIME, defect, P3)
MailNews Core
MIME
Tracking
(Not tracked)
VERIFIED
FIXED
M17
People
(Reporter: BenB, Assigned: mscott)
Details
(Keywords: regression, Whiteboard: [nsbeta2+][6/15])
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Some of the smilies are not displayed, i.e. the content is completely lost. The
bug seems to appear espcially for smiles at column 2.
I'll attach my converter test folder, so can test for yourself. Compare the msgs
between 4.x and Mozilla to see the data loss.
Reporter | ||
Comment 1•25 years ago
|
||
The bug appears e.g. in msgs "smiles test 3" and "smilies" (and some others).
Ignore the not recognized smilies in msgs "Try this line:" and "(no subject)".
Reporter | ||
Comment 2•25 years ago
|
||
Assignee | ||
Comment 3•25 years ago
|
||
I'll try to poke at this for M17. thanks Ben.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Comment 4•25 years ago
|
||
Mail Review hopes this is post-beta2, easy, polish work. Marking M18.
Target Milestone: M17 → M18
I don't think this is polish work. It seems more involved than that (?)
Reporter | ||
Comment 6•25 years ago
|
||
I also think, we shouldn't ship a product with a data loss bug, but I'm no
manager :) (i.e. I don't have the overview).
This seems to be some wierd logic error, a tricky off-by-one bug. Had a similar
one before (is it even the same, but mscott missed the fix?).
Reporter | ||
Comment 7•25 years ago
|
||
("product" = nsbeta2)
Reporter | ||
Comment 8•25 years ago
|
||
There's a "XXX Hotfix" block in
mozilla/netwerk/streamconv/convertes/mozTXTToHTMLConv, which was intended to fix
this bug, when it appeared the first time. Look there first.
Comment 9•25 years ago
|
||
Nominating this for nsbeta2 as it involves data loss. This bug seem to occure
in if you start a smile or wink ":)" in the 2nd column. However there may be
other test cases that are not known.
The best example is if you star in first column everything is fine
:) this is a test :)
If you start in the 2nd column
:) this is a test :)
The first smile is completely lost, it does not even live the litteral colon an
closing parens :). However the 2nd simle still is converted.
Thus we lose 2 characters. It makes me wonder if there might be other areas
where loss may be occuring but we have not caught it yet.
Reporter | ||
Comment 10•25 years ago
|
||
Alan, there *are* other cases (IIRC).
This is a regression caused by the performance enhancement. Adding keyword.
Keywords: regression
Comment 11•25 years ago
|
||
Thanks Ben,
If you remember those other cases it would be good as the more cases of data
loss we know of the more important this bug is and why it should be NSBETA2
Assignee | ||
Comment 13•24 years ago
|
||
attaching the fix. BenB, can you give me a code review for this? Thanks.
Target Milestone: M18 → M17
Assignee | ||
Comment 14•24 years ago
|
||
Reporter | ||
Comment 15•24 years ago
|
||
No! lol. I didn't think it was *that* simple.
Code is OK. (I'd move the Append before the STOP, but that's a minor issue that
matters only for debugging.)
Tested with my test cases (attached) and it works fine modulo an unrelated bug
in the Mailnews flowed converter.
r=me
Assignee | ||
Comment 16•24 years ago
|
||
i thought that was pretty funny too.
I'll move the append before the stop. Thanks for the review.
Assignee | ||
Comment 17•24 years ago
|
||
fixed....another nsbeta2 bug bites the dust.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 18•24 years ago
|
||
verified fixed win 95 moz build 2000060908.
I wish the other bugs were this easy!
Status: RESOLVED → VERIFIED
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
•