Closed
Bug 83486
Opened 24 years ago
Closed 24 years ago
News doesn't try to reload a message if an error occurs on the first try
Categories
(MailNews Core :: Networking: NNTP, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: SkewerMZ, Assigned: cavin)
References
Details
(Whiteboard: [nsbeta1+][PDT+] Have Fix)
Attachments
(1 file)
|
1.29 KB,
patch
|
Details | Diff | Splinter Review |
Procedure: Click on a message, and hit the stop button before it finishes
loading. Go to another message and come back, or open the message in a new window.
Expected: News tries to download the message again, displaying it when it loads.
Actual: News never tries to download the message again, so the stopped message
is always displayed as blank (or partial?) until Mozilla is shut down and restarted.
Build: 2001053004 Win98
Keywording...
Component: Mail Window Front End → Networking - News
.
QA Contact: esther → stephend
stephend: Please post relevant comments when modifying my bugs. Periods are
still spam, anyway.
I wasn't spamming, I was re-assigning QA contact to myself. If you don't like
e-mail notification, you can turn that off in your bugzilla prefs.
David might be able to shed some insight on this. We're not loading the full
message into our cache, so when we return to it, we're not finding it, and have
to load it again, correct, David?
Comment 6•24 years ago
|
||
the problem is that we've left the half-downloaded message in the memory cache -
we need to remove the message from the memory cache if the download failed or
was interrupted. We do this for imap in some situations right now - I can find
the relevant code
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•24 years ago
|
||
Here's the imap code we run when finishing a url - it gets the channel and
checks its status - if the channel indicates a failure, we remove the mem cache
entry for the url, if any. We should do something similar for news.
if (NS_SUCCEEDED(aImapUrl->GetMockChannel(getter_AddRefs(mockChannel))) &&
mockChannel)
{
nsCOMPtr<nsIRequest> request = do_QueryInterface(mockChannel);
if (!request)
return NS_ERROR_FAILURE;
request->GetStatus(&rv);
if (!NS_SUCCEEDED(rv))
{
nsresult res;
removeUrlFromQueue = PR_TRUE;
mockChannel->Close(); // try closing it to get channel listener nulled
out.
if (aMailNewsUrl)
{
nsCOMPtr<nsICacheEntryDescriptor> cacheEntry;
res = aMailNewsUrl->GetMemCacheEntry(getter_AddRefs(cacheEntry));
if (NS_SUCCEEDED(res) && cacheEntry)
cacheEntry->Doom();
}
}
}
Comment 8•24 years ago
|
||
moving to 0.9.2 and reassigning to cavin.
Assignee: sspitzer → cavin
Priority: -- → P2
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9.2
| Assignee | ||
Comment 9•24 years ago
|
||
The patch I'm working on looks good so far. Will submit patch tomorrow.
Whiteboard: [nsbeta1+] → [nsbeta1+] Have Fix
| Assignee | ||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
looks good to me. r=mscott
Comment 13•24 years ago
|
||
sr=bienvenu
Comment 15•24 years ago
|
||
a=blizzard on behalf of drivers for the trunk
| Assignee | ||
Comment 16•24 years ago
|
||
Remove incomplete cache entry in OnStopReuqest() when failed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified Fixed on :
Mac OS 9.1 : 2001-06-15-08
RedHat 7.1 : 2001-06-15-08
Windows 2K : 2001-06-15-04
When I click on a large message, press the 'Stop' button, and then either
double-click to load the message in a stand-alone window, or simply single-click
to load in the current message pane, the message loads fine.
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 18•24 years ago
|
||
I saw this again today. I tried to open a message and got an error box that said
"200 News Server Ready" (???) and the message never downloaded, even if I tried
to reload it.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 19•24 years ago
|
||
Skewer, did you press stop? If not, that's a different bug.
| Reporter | ||
Comment 20•24 years ago
|
||
It seems like it is caused by the same cache problem. Changing summary.
Summary: News doesn't try to reload a message if I stop downloading → News doesn't try to reload a message if an error occurs on the first try
Comment 21•24 years ago
|
||
There normally is not even an error message generated - there are times it
simply will not display the message. Go back and forth and then try it again and
it normally will show it. It also is not a funciton of how fast the user is
clicking.
| Reporter | ||
Comment 22•24 years ago
|
||
No, I have determined that when a message is not loaded properly because of the
underlying problem in this bug, it never reloads until the entire browser (not
just that one window) is restarted. Of course, it should reload the message
every time it's loaded until it is successfully downloaded.
Comment 23•24 years ago
|
||
mozilla-0.9.2 train is long gone. unsetting Target Milestone for cavin.
Target Milestone: mozilla0.9.2 → ---
Comment 24•24 years ago
|
||
Is this fixed on the 094 branch?
| Assignee | ||
Comment 25•24 years ago
|
||
The new problem reported by Skewer on 2001-08-12 23:28 has not been addressed.
The original problem was resolved and is on 094 branch.
Comment 26•24 years ago
|
||
can you guys file a new bug on the additional scenario Skewer found and let's
reclose this one.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 27•24 years ago
|
||
The problem reported by Skewer is recorded in bug #104983. Closing this bug.
Status: RESOLVED → CLOSED
From http://bugzilla.mozilla.org/queryhelp.cgi#status
* VERIFIED- QA has looked at the bug and the resolution and agrees that the
appropriate action has been taken.
* CLOSED - The bug is considered dead, the resolution is correct, and the
product the bug has been reported against is terminated or shipped. Any zombie
bugs who choose to walk the earth again must do so by becoming REOPENED. This
state is rarely ever used.
Cavin, not your fault, you didn't know. But I'll go ahead and re-open, then
resolve it fixed, then verify.
Status: CLOSED → REOPENED
Resolution: FIXED → ---
resolving
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
...and verified.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
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
•