Closed
Bug 55432
Opened 25 years ago
Closed 25 years ago
Mail sent to folder with filter not readable
Categories
(MailNews Core :: Filters, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mikepinkerton, Assigned: Bienvenu)
Details
(Whiteboard: rtm++)
Attachments
(1 file)
|
721 bytes,
patch
|
Details | Diff | Splinter Review |
- get mail that is filtered to a folder. The folder will bold and show there is mail
- click the folder to view it
expected results:
- you should see the new mail
actual:
- can't see the mail. had to open 4.x to see it
regression, fer shure. this is a branch build from 10/5/00.
| Reporter | ||
Comment 2•25 years ago
|
||
ok, it doesn't _always_ do it. but it does it enough, and has done it for at
least 10 mail messages just today.
| Assignee | ||
Comment 4•25 years ago
|
||
IMAP or POP3? None of this code has changed in a long time, at least not by me.
| Assignee | ||
Comment 5•25 years ago
|
||
are you talking about the trunk, or some post beta3 branch build? I've changed
absolutely nothing having to do with anything remotely related, anywhere, actually.
| Reporter | ||
Comment 6•25 years ago
|
||
imap.
| Reporter | ||
Comment 7•25 years ago
|
||
post PR3 branch, build from 10/5/00, 12pm.
| Assignee | ||
Comment 8•25 years ago
|
||
I doubt this is a regression, since nothing has changed in the code (unless
someone has changed stuff w/o telling me). More likely, something about your
profile has got messed up.
Is it always the same folder that doesn't work? If so, you might try moving away
the .msf file for that folder (don't delete it, just move it to a different
folder somewhere away from your profile). If that fixes it, then the .msf file
is probably corrupted, and we could try to figure out why.
If it happens to all your filter target folders, then I don't know what could be
going on. You seem to be implying that the new headers aren't displayed (when
you say you can't see the new mail, I can't tell for sure if you mean you can
see the headers but not the messages, or if you can't see the headers at all).
Keywords: regression
| Reporter | ||
Comment 9•25 years ago
|
||
i read with two-pane (folder and thread). the folder gets emboldened to show new
mail, but when i click on said folder, the bold goes away and there are no new
messages in the thread pane. using 4.x, I can see that there are new messages in
that folder.
it appears to only be one or two of my folders, I'll try moving aside the .msf
and see if that does it. I'll keep you posted.
| Assignee | ||
Comment 10•25 years ago
|
||
Do you see any status about the headers getting downloaded? I may ask you to do
a little debugging if you have the time - we've heard reports of this bug
before, but haven't been able to reproduce it on a machine with a debugger. My
suspicion is that the .msf file is "slightly" corrupted - not corrupted enough
so that Mork returns an error when parsing it, but corrupted enough so that we
can't add headers to it - in particular, I suspect that we can't find one of the
main tables in the db - the all msg hdr table.
| Assignee | ||
Comment 11•25 years ago
|
||
cc'ing Phil, who sees this occasionally.
Comment 12•25 years ago
|
||
I am seeing this for two local folders with filters. The folders increment the
count of total unread messages in some state but not able to reproduce that
state consistently.
| Assignee | ||
Comment 13•25 years ago
|
||
can you see any of the headers in this folder? Or is it just new headers you
can't see? Can you try debugging a little? Try setting a breakpoint in
mailnews/db/msgdb/src/nsMsgDatabase::AddNewHdrToDB and step through the code
when a message gets filtered into that folder.
Comment 14•25 years ago
|
||
Getting an imap client protocol log or a pop3 client protocol log may help too.
For imap setting the following environment variables, relaunch the app.
NSPR_LOG_MODULES IMAP:5
NSPT_LOG_FILE e:\tmp\imap50.txt
For Pop3
NSPR_LOG_MODULES POP3:5
NSPR_LOG_FILE e:\tmp\pop3.txt
Comment 15•25 years ago
|
||
> can you see any of the headers in this folder? Or is it just new headers you
> can't see?
When I see the bug, I can't see any headers in the folder at all.
Comment 16•25 years ago
|
||
David, remember there is a bug regarding downloading pop3 truncated message
failed due to the filtering I wonder there may have some linkage here.
Specifically, I am wondering if a file spec gets opened twice by two different
threads or two different rountines and each one has its own view of the current
file state. Is this possible?
Comment 17•25 years ago
|
||
Or previous opened file didn't get closed down due to some interrupt. So, it
gets into a very strange state.
Comment 18•25 years ago
|
||
What I am noticing may not be related to this bug. ( My observation is different
because I am able to see the headers of all message
in such folders. However the count of the unread messages is incorrect and
therefore the folder is always shown in bold. )
| Assignee | ||
Comment 19•25 years ago
|
||
Jeff, what Phil is seeing is on IMAP, so file specs shouldn't be involved.
Navin, have you tried moving the splitter? There are some paint problems that
make things not get redisplayed. What Phil sees is consistent with the .msf file
being corrupted - in particular, I bet we can't find the all msg hdrs table. I
can add checks for this, and blow away the db if we can't get it, but I'd like
to have a reproducible case to test this with.
| Reporter | ||
Comment 20•25 years ago
|
||
i'll try debugging early next week. yes, when it gets into this state, I see
messages that are unread (i see their headers in the thread pane). Only the new
messages are missing.
| Assignee | ||
Comment 21•25 years ago
|
||
| Assignee | ||
Comment 22•25 years ago
|
||
this is my proposed potential fix for what Phil is seeing - more checking for
corrupted databases. I don't think it will fix what Mike is seeing, but it's
worth a try as well.
Status: NEW → ASSIGNED
Comment 23•25 years ago
|
||
sr=mscott for David's proposed fix for what Phil is seeing.
Comment 25•25 years ago
|
||
You'll need a second review besides mscott. The rule is one code review + one
review from the mozilla.org list.
| Assignee | ||
Comment 26•25 years ago
|
||
already got one from scottip. I put that in the msg sent out to reviewers (you
can't get a review from the reviewers before you get a first review). Forgot to
mention it in the bug report.
Comment 27•25 years ago
|
||
Ok, cool. PDT has been kicking back [rtm+] bugs which don't have two reviews in
the bug report, and I didn't want to lose a day before getting this patch in :-)
| Assignee | ||
Comment 28•25 years ago
|
||
p2 to get on pdt radar. Darn! Hope it makes it today.
Priority: P3 → P2
Updated•25 years ago
|
Whiteboard: rtm+ → rtm++
Comment 29•25 years ago
|
||
marking rtm++
| Assignee | ||
Comment 30•25 years ago
|
||
Mike, I checked my changes in tonight (on the trunk and the branch). Could you
try with those changes? There's an outside chance it may fix your problem (I'm
pretty sure it'll fix Phil's). If it doesn't fix it, could you try some
debugging? I'll be in Mountain View tomorrow if you want me to look over your
shoulder.
| Reporter | ||
Comment 31•25 years ago
|
||
i think this is the problem I've been seeing. I noticed that tossing my .msf
file for the afflicted folders solved the problem with not seeing any headers at
all.
The problem where I saw headers but nothing new was reported was probably a
side-effect of switching skins. New messages don't show up bold after switching
skins (works fine after app restart) and all those bug emails look alike ;)
| Assignee | ||
Comment 32•25 years ago
|
||
OK, thanks, marking fixed based on Mike's comments.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 33•25 years ago
|
||
Marking verified based on Mike's last comments.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•21 years ago
|
OS: other
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•