Closed Bug 305467 Opened 20 years ago Closed 20 years ago

Failure to mark headers as downloaded on cancel/stop results in duplicates.

Categories

(MailNews Core :: Networking, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Bienvenu)

Details

(Keywords: fixed1.8)

Attachments

(2 files)

I looked briefly for a DUP, but wanted to get this filed just in case it's not already known. Build ID: version 1.6a1 (20050821) Windows XP. Summary: Failure to mark headers as downloaded on cancel/stop results in duplicates. Steps to Reproduce: 1. Enter a not-yet-subscribed newsgroup (my example was alt.tv.lost) 2. Choose "Download all headers" Here, you can do a couple of things to reproduce the bug: A) Click "Stop", followed by "Get Mail" B) You can go to any folder, and then come back to your newsgroup The results are the same: the download headers dialog will always tell you the max # of headers are available for download. 3. Repeating either (A) or (B) will result in an identical header, which will be threaded off the original. [00:07] <bienvenu> basically, we're not updating our variables that say what headers we've downloaded [00:07] <bienvenu> when you press cancel [00:07] <bienvenu> definitely a bug
Flags: blocking1.8b4?
Flags: blocking1.8b4? → blocking1.8b4+
Attached patch proposed fixSplinter Review
FinishXOVERLine gets called even when download is cancelled - parsing headers keeps track of the last header parsed, so it should be up to date.
Attachment #193622 - Flags: superreview?(mscott)
Comment on attachment 193622 [details] [diff] [review] proposed fix this looks pretty low risk and is already a 1.8b4+ blocker bug.
Attachment #193622 - Flags: superreview?(mscott)
Attachment #193622 - Flags: superreview+
Attachment #193622 - Flags: approval1.8b4+
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Sorry David, I left out a crucial part of step B, which leads to the original problem I described (though you did indeed fix both A and B as I originally stated): Since it's my fault, let me know if you want a new bug for this. Anyways, here are the steps: 1. Subscribe to alt.tv.alias (~4439 articles) 2. Choose "Download all headers", click Download 3. Let it start downloading 4. Go to your Inbox 5. Come back to alt.tv.alias Now, this is the *extra* step I left out of part (B): 6. Click the Get Mail button. Now you'll have an extra copy of each header.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
yes, a new bug would be good - in the second case, we're probably just getting new headers with a second connection, even though we have a connection getting headers for that newsgroup already, which is a different problem.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Okay, back to Verified FIXED (trunk) for the specific cases I already tested; the other issue I've filed bug 305918 for. Sorry for the mishap.
Status: RESOLVED → VERIFIED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: